aboutsummaryrefslogtreecommitdiff
path: root/docs/submitting-applications.md
diff options
context:
space:
mode:
authorDaniel Santana <mestresan@gmail.com>2016-03-14 12:26:08 -0700
committerAndrew Or <andrew@databricks.com>2016-03-14 12:26:08 -0700
commit9f13f0fc1724e407d3be54152b82150a16395421 (patch)
tree7c71d5b1506868933e4e2a0c1042828e3c7057bf /docs/submitting-applications.md
parent310981d49a332bd329303f610b150bbe02cf5f87 (diff)
downloadspark-9f13f0fc1724e407d3be54152b82150a16395421.tar.gz
spark-9f13f0fc1724e407d3be54152b82150a16395421.tar.bz2
spark-9f13f0fc1724e407d3be54152b82150a16395421.zip
[MINOR][DOCS] Added Missing back slashes
## What changes were proposed in this pull request? When studying spark many users just copy examples on the documentation and paste on their terminals and because of that the missing backlashes lead them run into some shell errors. The added backslashes avoid that problem for spark users with that behavior. ## How was this patch tested? I generated the documentation locally using jekyll and checked the generated pages Author: Daniel Santana <mestresan@gmail.com> Closes #11699 from danielsan/master.
Diffstat (limited to 'docs/submitting-applications.md')
-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 \