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

    https://github.com/apache/spark/pull/3557#discussion_r22878529
  
    --- Diff: 
core/src/main/scala/org/apache/spark/deploy/SparkSubmitArguments.scala ---
    @@ -149,6 +149,10 @@ private[spark] class SparkSubmitArguments(args: 
Seq[String], env: Map[String, St
         // Global defaults. These should be keep to minimum to avoid confusing 
behavior.
         master = Option(master).getOrElse("local[*]")
     
    +    // In yarn mode, app name can be set via SPARK_YARN_APP_NAME
    +    if (master.contains("yarn")) {
    --- End diff --
    
    should be `startsWith`, also in the comments we generally capitalize YARN


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

Reply via email to