Github user sryza commented on a diff in the pull request:
https://github.com/apache/spark/pull/701#discussion_r12456810
--- Diff: docs/running-on-yarn.md ---
@@ -43,18 +43,19 @@ Unlike in Spark standalone and Mesos mode, in which the
master's address is spec
To launch a Spark application in yarn-cluster mode:
- ./bin/spark-submit --class path.to.your.Class --master yarn-cluster
[options] <app jar> [app options]
+ ./bin/spark-submit --class path.to.your.Class --master yarn-cluster
--deploy-mode cluster [options] <app jar> [app options]
--- End diff --
If using --deploy-mode cluster, then --master should just be "yarn".
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---