Github user kmaehashi commented on the pull request:
https://github.com/apache/spark/pull/7512#issuecomment-123203221
@srowen
```
OptionAssigner(args.name, YARN, CLUSTER, clOption = "--name"),
```
This is a different thing. This `--name` is an argument to the
`org.apache.spark.deploy.yarn.Client` class, which is a main class for YARN
cluster mode.
https://github.com/apache/spark/blob/v1.4.1/yarn/src/main/scala/org/apache/spark/deploy/yarn/ClientArguments.scala#L216
As `spark-submit --help`
(https://github.com/apache/spark/blob/v1.4.1/core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala#L451)
says, `--name` option (for spark-submit) is available for all cluster managers
/ deploy modes.
---
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]