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

    https://github.com/apache/spark/pull/9174#discussion_r42515407
  
    --- Diff: yarn/src/main/scala/org/apache/spark/deploy/yarn/Client.scala ---
    @@ -1025,9 +1025,6 @@ object Client extends Logging {
             "future version of Spark. Use ./bin/spark-submit with \"--master 
yarn\"")
         }
     
    -    // Set an env variable indicating we are running in YARN mode.
    -    // Note that any env variable with the SPARK_ prefix gets propagated 
to all (remote) processes
    -    System.setProperty("SPARK_YARN_MODE", "true")
    --- End diff --
    
    to @tgravescs point, would it hurt to leave this in here?  and then change 
the comment to indicate that it should normally be set by SparkSubmit but left 
here in case anybody is still using this.


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