diff options
author | Patrick Wendell <pwendell@gmail.com> | 2014-05-08 22:26:17 -0700 |
---|---|---|
committer | Patrick Wendell <pwendell@gmail.com> | 2014-05-08 22:26:36 -0700 |
commit | 06b15baab25951d124bbe6b64906f4139e037deb (patch) | |
tree | 5d696f3f36535553478418c850882c0325e38af3 /docs | |
parent | 3f779d872d8459b262b3db9e4d12b011910b6ce9 (diff) | |
download | spark-06b15baab25951d124bbe6b64906f4139e037deb.tar.gz spark-06b15baab25951d124bbe6b64906f4139e037deb.tar.bz2 spark-06b15baab25951d124bbe6b64906f4139e037deb.zip |
SPARK-1565 (Addendum): Replace `run-example` with `spark-submit`.
Gives a nicely formatted message to the user when `run-example` is run to
tell them to use `spark-submit`.
Author: Patrick Wendell <pwendell@gmail.com>
Closes #704 from pwendell/examples and squashes the following commits:
1996ee8 [Patrick Wendell] Feedback form Andrew
3eb7803 [Patrick Wendell] Suggestions from TD
2474668 [Patrick Wendell] SPARK-1565 (Addendum): Replace `run-example` with `spark-submit`.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/running-on-yarn.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/running-on-yarn.md b/docs/running-on-yarn.md index 68183ee8b4..c563594296 100644 --- a/docs/running-on-yarn.md +++ b/docs/running-on-yarn.md @@ -53,7 +53,7 @@ For example: --driver-memory 4g \ --executor-memory 2g \ --executor-cores 1 - examples/target/scala-{{site.SCALA_BINARY_VERSION}}/spark-examples-assembly-{{site.SPARK_VERSION}}.jar \ + lib/spark-examples*.jar \ yarn-cluster 5 The above starts a YARN client program which starts the default Application Master. Then SparkPi will be run as a child thread of Application Master. The client will periodically poll the Application Master for status updates and display them in the console. The client will exit once your application has finished running. Refer to the "Viewing Logs" section below for how to see driver and executor logs. |