Github user holdenk commented on the pull request: https://github.com/apache/spark/pull/8911#issuecomment-143356542 @vanzin so in my own code (where I do try and switch between yarn and non yarn mode) I clear the SPARK_YARN_MODE as done in the test. I could update SparkContext to explicitly clear SPARK_YARN_MODE if its being launched with a non yarn mode client if you think that would be helpful for people?
--- 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