Github user zeodtr commented on a diff in the pull request:
https://github.com/apache/spark/pull/899#discussion_r13164961
--- Diff:
yarn/common/src/main/scala/org/apache/spark/deploy/yarn/ClientBase.scala ---
@@ -309,7 +310,7 @@ trait ClientBase extends Logging {
// Add Xmx for AM memory
JAVA_OPTS += "-Xmx" + amMemory + "m"
- val tmpDir = new Path(Environment.PWD.$(),
YarnConfiguration.DEFAULT_CONTAINER_TEMP_DIR)
+ val tmpDir = new Path(Environment.PWD.$$(),
YarnConfiguration.DEFAULT_CONTAINER_TEMP_DIR)
--- End diff --
It's the same as `<CPS>`. Hadoop < 2.4 will not recognize it.
BTW, CLASS_PATH_SEPARATOR and $$() are annotated with `@Unstable`.
---
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.
---