Skip to content

Commit 1bf4112

Browse files
committed
Review comments
1 parent 4414f88 commit 1bf4112

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/submitting-applications.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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.
2828
This script takes care of setting up the classpath with Spark and its
2929
dependencies, 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
7373
export 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 \

0 commit comments

Comments
 (0)