Github user srowen commented on the pull request:
https://github.com/apache/spark/pull/8071#issuecomment-130212513
I think the best question is, which is already used more in the docs?
`--master yarn --deploy-mode client` or `--master yarn-client`? I count 3 uses
of the former and 26 of the latter. I suggest therefore that:
- YARN docs continue to use `yarn-client` and `yarn-cluster`
- Add a mention about `--deploy-mode` after the first example of
`yarn-client`/`yarn-cluster` in the YARN docs, that it's a synonym
- Don't rearrange the rest of the docs
- `spark-submit` help args should however use `--deploy-mode` since it's
not YARN-specific
- Generic Spark submission docs should still use `--deploy-mode` for
non-YARN modes
How does that strike people? It's much less change than eliminating
`yarn-client`/`yarn-cluster` mentions, even if it highlights an inconsistency.
---
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]