Github user sryza commented on a diff in the pull request:
https://github.com/apache/spark/pull/1665#discussion_r15631418
--- Diff: core/src/main/scala/org/apache/spark/deploy/SparkSubmit.scala ---
@@ -184,7 +184,7 @@ object SparkSubmit {
OptionAssigner(args.archives, YARN, CLIENT, sysProp =
"spark.yarn.dist.archives"),
// Yarn cluster only
- OptionAssigner(args.name, YARN, CLUSTER, clOption = "--name",
sysProp = "spark.app.name"),
--- End diff --
The spark.app.name already gets set above with:
OptionAssigner(args.name, ALL_CLUSTER_MGRS, ALL_DEPLOY_MODES, sysProp
= "spark.app.name"),
so this is just removing a redundancy.
For reasons that are too boring to be worth going into, this was more
thematically affiliated to the rest of the changes before I rebased it. Not
strictly related to this patch anymore, so I can fix it separately if you'd
like.
---
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.
---