Github user andrewor14 commented on a diff in the pull request:

    https://github.com/apache/spark/pull/1665#discussion_r15673470
  
    --- 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 --
    
    It was first added in #699, but in #1538 we made `spark.app.name` available 
for all deploy modes and all cluster managers, which includes yarn-cluster. 
With these changes setting `spark.app.name` again here becomes redundant.


---
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.
---

Reply via email to