Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 186CF200B4E for ; Sun, 24 Jul 2016 18:55:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 16E5B160A87; Sun, 24 Jul 2016 16:55:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 677C4160A74 for ; Sun, 24 Jul 2016 18:55:32 +0200 (CEST) Received: (qmail 302 invoked by uid 500); 24 Jul 2016 16:55:31 -0000 Mailing-List: contact commits-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list commits@phoenix.apache.org Received: (qmail 286 invoked by uid 99); 24 Jul 2016 16:55:31 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 24 Jul 2016 16:55:31 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 65966E04BE; Sun, 24 Jul 2016 16:55:31 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: jamestaylor@apache.org To: commits@phoenix.apache.org Date: Sun, 24 Jul 2016 16:55:32 -0000 Message-Id: <1239b19e1fa248a8955e502b594b8886@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [2/2] phoenix git commit: PHOENIX-3075 Phoenix-hive module is writing under ./build instead of ./target (Sergey Soldatov) archived-at: Sun, 24 Jul 2016 16:55:33 -0000 PHOENIX-3075 Phoenix-hive module is writing under ./build instead of ./target (Sergey Soldatov) Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/91638018 Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/91638018 Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/91638018 Branch: refs/heads/4.x-HBase-1.1 Commit: 91638018eccad73f30bfdd7b0b14e533effbdeb2 Parents: 04b8936 Author: James Taylor Authored: Sun Jul 24 09:50:11 2016 -0700 Committer: James Taylor Committed: Sun Jul 24 09:52:14 2016 -0700 ---------------------------------------------------------------------- .../src/it/java/org/apache/phoenix/hive/HiveTestUtil.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/91638018/phoenix-hive/src/it/java/org/apache/phoenix/hive/HiveTestUtil.java ---------------------------------------------------------------------- diff --git a/phoenix-hive/src/it/java/org/apache/phoenix/hive/HiveTestUtil.java b/phoenix-hive/src/it/java/org/apache/phoenix/hive/HiveTestUtil.java index 57722f8..a234d24 100644 --- a/phoenix-hive/src/it/java/org/apache/phoenix/hive/HiveTestUtil.java +++ b/phoenix-hive/src/it/java/org/apache/phoenix/hive/HiveTestUtil.java @@ -81,6 +81,7 @@ import java.util.LinkedList; import java.util.List; import java.util.Set; import java.util.TreeMap; +import java.util.UUID; import java.util.concurrent.TimeUnit; import java.util.regex.Matcher; import java.util.regex.Pattern; @@ -293,6 +294,10 @@ public class HiveTestUtil { qJavaVersionSpecificOutput = new HashSet(); this.clusterType = clusterType; + // Using randomUUID for dfs cluster + System.setProperty("test.build.data", "target/test-data/hive-" + UUID.randomUUID().toString + ()); + HadoopShims shims = ShimLoader.getHadoopShims(); int numberOfDataNodes = 4;