aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/submitting-applications.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/docs/submitting-applications.md b/docs/submitting-applications.md
index cebdb6d910..66025ed6ba 100644
--- a/docs/submitting-applications.md
+++ b/docs/submitting-applications.md
@@ -30,7 +30,7 @@ dependencies, and can support different cluster managers and deploy modes that S
{% highlight bash %}
./bin/spark-submit \
- --class <main-class>
+ --class <main-class> \
--master <master-url> \
--deploy-mode <deploy-mode> \
--conf <key>=<value> \
@@ -92,8 +92,8 @@ run it with `--help`. Here are a few examples of common options:
./bin/spark-submit \
--class org.apache.spark.examples.SparkPi \
--master spark://207.184.161.138:7077 \
- --deploy-mode cluster
- --supervise
+ --deploy-mode cluster \
+ --supervise \
--executor-memory 20G \
--total-executor-cores 100 \
/path/to/examples.jar \
@@ -120,8 +120,8 @@ export HADOOP_CONF_DIR=XXX
./bin/spark-submit \
--class org.apache.spark.examples.SparkPi \
--master mesos://207.184.161.138:7077 \
- --deploy-mode cluster
- --supervise
+ --deploy-mode cluster \
+ --supervise \
--executor-memory 20G \
--total-executor-cores 100 \
http://path/to/examples.jar \