tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mlidd...@apache.org
Subject git commit: TEZ-171: MapUtils should use the temp-dir passed in rather than env:PWD
Date Thu, 30 May 2013 23:45:44 GMT
Updated Branches:
  refs/heads/TEZ-1 6d5625f4f -> 5d0b8adfb


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/TEZ-1
Commit: 5d0b8adfb9390b67c53e9bbad7a9f0961300d8db
Parents: 6d5625f
Author: Mike Liddell <mliddell@apache.org>
Authored: Thu May 30 16:45:30 2013 -0700
Committer: Mike Liddell <mliddell@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));


Mime
View raw message