File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 50
50
curl -OL https://archive.apache.org/dist/hadoop/core/hadoop-${HADOOP_VERSION}/hadoop-${HADOOP_VERSION}.tar.gz
51
51
tar -xzf hadoop-${HADOOP_VERSION}.tar.gz
52
52
53
- - name : Install Java
54
- uses : actions/setup-java@v3
55
- with :
56
- distribution : ' zulu'
57
- java-version : ' 8'
58
-
59
53
- name : Run tests
60
54
run : |
61
55
export SPARK_DIST_CLASSPATH=$PWD/slf4j-api-${SFL4J_VERSION}.jar:$(hadoop-${HADOOP_VERSION}/bin/hadoop classpath)
62
56
export PATH="$PWD/spark-${SPARK_VERSION}-bin-without-hadoop/bin:$PATH"
63
- spark-submit -v --packages com.amazonaws:aws-java-sdk:1.11.920,org.apache.hadoop:hadoop-aws:2.8.4 bazel-bin/apps/hello/sparkle-example-hello_deploy.jar
57
+ spark-submit -v --executor-cores 1 -- packages com.amazonaws:aws-java-sdk:1.11.920,org.apache.hadoop:hadoop-aws:2.8.4 bazel-bin/apps/hello/sparkle-example-hello_deploy.jar
You can’t perform that action at this time.
0 commit comments