Github user vanzin commented on the pull request:
https://github.com/apache/spark/pull/539#issuecomment-41340061
Question: if I understand the code correctly, SPARK_YARN_APP_NAME will
never be used (since I don't think it's possible to instantiate a SparkContext
without spark.app.name being set in the corresponding SparkConf).
If that's true, is there any point in keeping SPARK_YARN_APP_NAME around?
If there is, I'd have to switch the conditions around (so that it overrides the
value in SparkConf).
---
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.
---