File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ packaging them into a `.zip` or `.egg`.
2424
2525# Launching Applications with spark-submit
2626
27- Once a user application is bundled, it can be launched using the ` bin/spark-submit ` script
27+ Once a user application is bundled, it can be launched using the ` bin/spark-submit ` script.
2828This script takes care of setting up the classpath with Spark and its
2929dependencies, and can support different cluster managers and deploy modes that Spark supports:
3030
@@ -55,14 +55,14 @@ examples of common options:
5555{% highlight bash %}
5656# Run application locally on 8 cores
5757./bin/spark-submit \
58- --class org.apache.spark.examples.SparkPi
58+ --class org.apache.spark.examples.SparkPi \
5959 --master local[ 8] \
6060 /path/to/examples.jar \
6161 100
6262
6363# Run on a Spark standalone cluster
6464./bin/spark-submit \
65- --class org.apache.spark.examples.SparkPi
65+ --class org.apache.spark.examples.SparkPi \
6666 --master spark://207.184.161.138:7077 \
6767 --executor-memory 20G \
6868 --total-executor-cores 100 \
@@ -72,7 +72,7 @@ examples of common options:
7272# Run on a YARN cluster
7373export HADOOP_CONF_DIR=XXX
7474./bin/spark-submit \
75- --class org.apache.spark.examples.SparkPi
75+ --class org.apache.spark.examples.SparkPi \
7676 --master yarn-cluster \ # can also be ` yarn-client ` for client mode
7777 --executor-memory 20G \
7878 --num-executors 50 \
You can’t perform that action at this time.
0 commit comments