Repository: spark
Updated Branches:
  refs/heads/branch-1.6 3519ce9f1 -> 13bd12264


[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 <mestre...@gmail.com>

Closes #11699 from danielsan/master.

(cherry picked from commit 9f13f0fc1724e407d3be54152b82150a16395421)
Signed-off-by: Andrew Or <and...@databricks.com>


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/13bd1226
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/13bd1226
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/13bd1226

Branch: refs/heads/branch-1.6
Commit: 13bd122644d2514d76c8899b9585298125cfd6f3
Parents: 3519ce9
Author: Daniel Santana <mestre...@gmail.com>
Authored: Mon Mar 14 12:26:08 2016 -0700
Committer: Andrew Or <and...@databricks.com>
Committed: Mon Mar 14 12:26:16 2016 -0700

----------------------------------------------------------------------
 docs/submitting-applications.md | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/13bd1226/docs/submitting-applications.md
----------------------------------------------------------------------
diff --git a/docs/submitting-applications.md b/docs/submitting-applications.md
index acbb0f2..616e5ab 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 \


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to