Github user sryza commented on a diff in the pull request: https://github.com/apache/spark/pull/701#discussion_r12456854 --- Diff: docs/running-on-yarn.md --- @@ -68,11 +69,12 @@ In yarn-cluster mode, the driver runs on a different machine than the client, so $ ./bin/spark-submit --class my.main.Class \ --master yarn-cluster \ + --deploy-mode cluster \ --jars my-other-jar.jar,my-other-other-jar.jar my-main-jar.jar - yarn-cluster 5 + [app arguments] --- End diff -- Same as above, --master should probably just be "yarn". And to be concrete like the other parts of the example, maybe use "apparg1 apparg2" instead of "[app arguments]"?
--- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---