hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ekoif...@apache.org
Subject hive git commit: HIVE-10747 - Enable the cleanup of side effect for the Encryption related qfile test
Date Fri, 22 May 2015 01:05:07 GMT
Repository: hive
Updated Branches:
  refs/heads/branch-1.2 3a70b0a1e -> 9253f5a0d


HIVE-10747 - Enable the cleanup of side effect for the Encryption related qfile test


Project: http://git-wip-us.apache.org/repos/asf/hive/repo
Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/9253f5a0
Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/9253f5a0
Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/9253f5a0

Branch: refs/heads/branch-1.2
Commit: 9253f5a0d9415144c1efd3edc487162438af1c57
Parents: 3a70b0a
Author: Eugene Koifman <ekoifman@hortonworks.com>
Authored: Thu May 21 18:04:58 2015 -0700
Committer: Eugene Koifman <ekoifman@hortonworks.com>
Committed: Thu May 21 18:04:58 2015 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hive/ql/QTestUtil.java     | 14 ++++++--------
 1 file changed, 6 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/9253f5a0/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
----------------------------------------------------------------------
diff --git a/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java b/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
index 925f1ee..3c4b8de 100644
--- a/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
+++ b/itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java
@@ -731,14 +731,12 @@ public class QTestUtil {
     clearTablesCreatedDuringTests();
     clearKeysCreatedInTests();
 
-    if (clusterType != MiniClusterType.encrypted) {
-      // allocate and initialize a new conf since a test can
-      // modify conf by using 'set' commands
-      conf = new HiveConf (Driver.class);
-      initConf();
-      // renew the metastore since the cluster type is unencrypted
-      db = Hive.get(conf);  // propagate new conf to meta store
-    }
+    // allocate and initialize a new conf since a test can
+    // modify conf by using 'set' commands
+    conf = new HiveConf(Driver.class);
+    initConf();
+    // renew the metastore since the cluster type is unencrypted
+    db = Hive.get(conf);  // propagate new conf to meta store
 
     setup.preTest(conf);
   }


Mime
View raw message