aboutsummaryrefslogtreecommitdiff
path: root/docs/quick-start.md
diff options
context:
space:
mode:
authorPatrick Wendell <pwendell@gmail.com>2014-04-26 19:24:29 -0700
committerPatrick Wendell <pwendell@gmail.com>2014-04-26 19:24:29 -0700
commitaa9a7f5db7bffcdbcd7fd53694c606d3a8cdd21f (patch)
tree2dd20bd11dd1673677c2b52a9aa3b5774b4f3c45 /docs/quick-start.md
parent762af4e9c2837c8ca125838b2ca01e328ee6669f (diff)
downloadspark-aa9a7f5db7bffcdbcd7fd53694c606d3a8cdd21f.tar.gz
spark-aa9a7f5db7bffcdbcd7fd53694c606d3a8cdd21f.tar.bz2
spark-aa9a7f5db7bffcdbcd7fd53694c606d3a8cdd21f.zip
SPARK-1606: Infer user application arguments instead of requiring --arg.
This modifies spark-submit to do something more like the Hadoop `jar` command. Now we have the following syntax: ./bin/spark-submit [options] user.jar [user options] Author: Patrick Wendell <pwendell@gmail.com> Closes #563 from pwendell/spark-submit and squashes the following commits: 32241fc [Patrick Wendell] Review feedback 3adfb69 [Patrick Wendell] Small fix bc48139 [Patrick Wendell] SPARK-1606: Infer user application arguments instead of requiring --arg.
Diffstat (limited to 'docs/quick-start.md')
-rw-r--r--docs/quick-start.md10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/quick-start.md b/docs/quick-start.md
index 68afa6e1bf..64996b52e0 100644
--- a/docs/quick-start.md
+++ b/docs/quick-start.md
@@ -179,9 +179,10 @@ $ sbt package
[info] Packaging {..}/{..}/target/scala-2.10/simple-project_2.10-1.0.jar
# Use spark-submit to run your application
-$ YOUR_SPARK_HOME/bin/spark-submit target/scala-2.10/simple-project_2.10-1.0.jar \
+$ YOUR_SPARK_HOME/bin/spark-submit \
--class "SimpleApp" \
- --master local[4]
+ --master local[4] \
+ target/scala-2.10/simple-project_2.10-1.0.jar
...
Lines with a: 46, Lines with b: 23
{% endhighlight %}
@@ -272,9 +273,10 @@ $ mvn package
[INFO] Building jar: {..}/{..}/target/simple-project-1.0.jar
# Use spark-submit to run your application
-$ YOUR_SPARK_HOME/bin/spark-submit target/simple-project-1.0.jar \
+$ YOUR_SPARK_HOME/bin/spark-submit \
--class "SimpleApp" \
- --master local[4]
+ --master local[4] \
+ target/simple-project-1.0.jar
...
Lines with a: 46, Lines with b: 23
{% endhighlight %}