File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Estimating Pi (yarn-cluster mode):
45
45
cd /usr/local/spark
46
46
47
47
# execute the the following command which should write the "Pi is roughly 3.1418" into the logs
48
- ./bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn-cluster --driver-memory 1g --executor-memory 1g --executor-cores 1 examples/target/scala-2.10/ spark-examples_2.10 -1.0.1 .jar
48
+ ./bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn-cluster --driver-memory 1g --executor-memory 1g --executor-cores 1 ./lib/ spark-examples -1.1.0-hadoop2.4.0 .jar
49
49
```
50
50
51
51
Estimating Pi (yarn-client mode):
@@ -54,5 +54,5 @@ Estimating Pi (yarn-client mode):
54
54
cd /usr/local/spark
55
55
56
56
# execute the the following command which should print the "Pi is roughly 3.1418" to the screen
57
- ./bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client --driver-memory 1g --executor-memory 1g --executor-cores 1 examples/target/scala-2.10/ spark-examples_2.10 -1.0.1 .jar
57
+ ./bin/spark-submit --class org.apache.spark.examples.SparkPi --master yarn-client --driver-memory 1g --executor-memory 1g --executor-cores 1 ./lib/ spark-examples -1.1.0-hadoop2.4.0 .jar
58
58
```
You can’t perform that action at this time.
0 commit comments