phoenix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamestay...@apache.org
Subject [2/2] phoenix git commit: PHOENIX-3075 Phoenix-hive module is writing under ./build instead of ./target (Sergey Soldatov)
Date Sun, 24 Jul 2016 16:55:32 GMT
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 <jamestaylor@apache.org>
Authored: Sun Jul 24 09:50:11 2016 -0700
Committer: James Taylor <jamestaylor@apache.org>
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<String>();
         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;
 


Mime
View raw message