You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tez.apache.org by ss...@apache.org on 2013/06/04 07:33:40 UTC
[38/50] [abbrv] git commit: TEZ-171: MapUtils should use the temp-dir
passed in rather than env:PWD
TEZ-171: MapUtils should use the temp-dir passed in rather than env:PWD
Project: http://git-wip-us.apache.org/repos/asf/incubator-tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tez/commit/5d0b8adf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tez/tree/5d0b8adf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tez/diff/5d0b8adf
Branch: refs/heads/master
Commit: 5d0b8adfb9390b67c53e9bbad7a9f0961300d8db
Parents: 6d5625f
Author: Mike Liddell <ml...@apache.org>
Authored: Thu May 30 16:45:30 2013 -0700
Committer: Mike Liddell <ml...@apache.org>
Committed: Thu May 30 16:45:30 2013 -0700
----------------------------------------------------------------------
.../apache/tez/mapreduce/processor/MapUtils.java | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tez/blob/5d0b8adf/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/processor/MapUtils.java
----------------------------------------------------------------------
diff --git a/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/processor/MapUtils.java b/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/processor/MapUtils.java
index 48a1113..138a8e0 100644
--- a/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/processor/MapUtils.java
+++ b/tez-mapreduce/src/test/java/org/apache/tez/mapreduce/processor/MapUtils.java
@@ -66,8 +66,7 @@ public class MapUtils {
localSysDirs[0] = localDir;
conf.setStrings(TezJobConfig.LOCAL_DIRS, localSysDirs);
- conf.set(TezJobConfig.TASK_LOCAL_RESOURCE_DIR,
- System.getenv(Environment.PWD.name()));
+ conf.set(TezJobConfig.TASK_LOCAL_RESOURCE_DIR, localDir);
LOG.info(TezJobConfig.LOCAL_DIRS + " for child: "
+ conf.get(TezJobConfig.LOCAL_DIRS));