Github user nssalian commented on the pull request:
https://github.com/apache/spark/pull/8071#issuecomment-130133320
1) Running on YARN (which was fixed in #6924) has simply yarn-client and
yarn-cluster for master.
and does not have `--deploy-mode` in the page.
2) For Standalone
(https://spark.apache.org/docs/latest/spark-standalone.html), there is no such
conflict in syntax just the explanation of the "deployment modes of Spark".
3) For Submitting applications
(https://spark.apache.org/docs/latest/submitting-applications.html), there
exist both the master `yarn-client` and `yarn-cluster` along with
`--deploy-mode` since it is a holistic document for the submission and includes
local, spark, mesos and yarn. But `--deploy-mode` is only used or appears in
the examples to illustrate `supervise`, the rest just point to the master-urls.
@tgravescs, @srowen, the latest commits should help alleviate any confusion
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]