Github user vanzin commented on the pull request:

    https://github.com/apache/spark/pull/8911#issuecomment-143358255
  
    I did a cursory lookup for where it is set, and I think the places that 
need to be changed are `SparkContext.stop()` and YARN's `Client.scala`.
    
    Doing it in `SparkContext`'s creating is an option, but feels a little 
weird; in that case I'd rather set it to `1` or `0` (or some other boolean 
value) to indicate whether it's running in YARN mode, but that would be a much 
bigger change.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to