Github user tgravescs commented on a diff in the pull request:
https://github.com/apache/spark/pull/33#discussion_r10361820
--- Diff: core/src/main/scala/org/apache/spark/SparkContext.scala ---
@@ -135,6 +135,8 @@ class SparkContext(
val isLocal = (master == "local" || master.startsWith("local["))
+ if (master == "yarn-client") System.setProperty("SPARK_YARN_MODE",
"true")
--- End diff --
Normally they shouldn't have to. If the user does certain things in their
code (access SparkHadoopUtil before creating the SparkContext) and are using
yarn-client mode they might have to. I pointed that out in the jira I filed.
I think we should see if we can fix that.
---
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.
---