Return-Path: X-Original-To: apmail-tez-commits-archive@minotaur.apache.org Delivered-To: apmail-tez-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 457E31794F for ; Wed, 29 Oct 2014 04:57:17 +0000 (UTC) Received: (qmail 46084 invoked by uid 500); 29 Oct 2014 04:57:17 -0000 Delivered-To: apmail-tez-commits-archive@tez.apache.org Received: (qmail 46050 invoked by uid 500); 29 Oct 2014 04:57:17 -0000 Mailing-List: contact commits-help@tez.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tez.apache.org Delivered-To: mailing list commits@tez.apache.org Received: (qmail 46041 invoked by uid 99); 29 Oct 2014 04:57:17 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2014 04:57:17 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id C0475999AB4; Wed, 29 Oct 2014 04:57:16 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: hitesh@apache.org To: commits@tez.apache.org Message-Id: <322591caeefe477daa2c5c4ccfe708b4@git.apache.org> X-Mailer: ASF-Git Admin Mailer 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 +0000 (UTC) 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 Authored: Tue Oct 28 21:56:33 2014 -0700 Committer: Hitesh Shah 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.