tez-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hit...@apache.org
Subject git commit: TEZ-792. Default staging path should have user name. (Mohammad Kamrul Islam via hitesh)
Date Wed, 29 Oct 2014 04:57:16 GMT
Repository: tez
Updated Branches:
  refs/heads/master 3a5f6e3bb -> 9c166076e


TEZ-792. Default staging path should have user name. (Mohammad Kamrul Islam via hitesh)


Project: http://git-wip-us.apache.org/repos/asf/tez/repo
Commit: http://git-wip-us.apache.org/repos/asf/tez/commit/9c166076
Tree: http://git-wip-us.apache.org/repos/asf/tez/tree/9c166076
Diff: http://git-wip-us.apache.org/repos/asf/tez/diff/9c166076

Branch: refs/heads/master
Commit: 9c166076ec7e8ff16deeba22c6c1b2015c2d73e2
Parents: 3a5f6e3
Author: Hitesh Shah <hitesh@apache.org>
Authored: Tue Oct 28 21:56:33 2014 -0700
Committer: Hitesh Shah <hitesh@apache.org>
Committed: Tue Oct 28 21:56:33 2014 -0700

----------------------------------------------------------------------
 CHANGES.txt                                                       | 1 +
 .../src/main/java/org/apache/tez/dag/api/TezConfiguration.java    | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tez/blob/9c166076/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 5dafcb9..6bf95ae 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -73,6 +73,7 @@ ALL CHANGES:
   TEZ-1664. Add checks to ensure that the client and AM are compatible.
   TEZ-1689. Exception handling for EdgeManagerPlugin.
   TEZ-1701. ATS fixes to flush all history events and also using batching.
+  TEZ-792. Default staging path should have user name.
 
 Release 0.5.1: 2014-10-02
 

http://git-wip-us.apache.org/repos/asf/tez/blob/9c166076/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
----------------------------------------------------------------------
diff --git a/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java b/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
index e3c3c83..1919f5c 100644
--- a/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
+++ b/tez-api/src/main/java/org/apache/tez/dag/api/TezConfiguration.java
@@ -100,7 +100,8 @@ public class TezConfiguration extends Configuration {
    * String value. Specifies a directory where Tez can create temporary job artifacts.
    */
   public static final String TEZ_AM_STAGING_DIR = TEZ_PREFIX + "staging-dir";
-  public static final String TEZ_AM_STAGING_DIR_DEFAULT = "/tmp/tez/staging";
+  public static final String TEZ_AM_STAGING_DIR_DEFAULT = "/tmp/"
+      + System.getProperty("user.name") + "/tez/staging";
   
   /**
    * String value that is a file path.


Mime
View raw message