hive-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ser...@apache.org
Subject [08/18] hive git commit: HIVE-10892 : TestHCatClient should not accept external metastore param from -Dhive.metastore.uris (Sushanth Sowmyan, reviewed by Thejas Nair)
Date Thu, 04 Jun 2015 20:46:58 GMT
HIVE-10892 : TestHCatClient should not accept external metastore param from -Dhive.metastore.uris
(Sushanth Sowmyan, reviewed by Thejas Nair)


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

Branch: refs/heads/llap
Commit: 4140da59658d0a7d3b59d827fe0ba582b1e2816e
Parents: b4f57d8
Author: Sushanth Sowmyan <khorgath@gmail.com>
Authored: Wed Jun 3 14:58:22 2015 -0700
Committer: Sushanth Sowmyan <khorgath@gmail.com>
Committed: Wed Jun 3 14:59:05 2015 -0700

----------------------------------------------------------------------
 .../src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hive/blob/4140da59/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java
----------------------------------------------------------------------
diff --git a/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java
b/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java
index 5f94b13..8992d552c 100644
--- a/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java
+++ b/hcatalog/webhcat/java-client/src/test/java/org/apache/hive/hcatalog/api/TestHCatClient.java
@@ -131,7 +131,7 @@ public class TestHCatClient {
   public static void startMetaStoreServer() throws Exception {
 
     hcatConf = new HiveConf(TestHCatClient.class);
-    String metastoreUri = System.getProperty(HiveConf.ConfVars.METASTOREURIS.varname);
+    String metastoreUri = System.getProperty("test."+HiveConf.ConfVars.METASTOREURIS.varname);
     if (metastoreUri != null) {
       hcatConf.setVar(HiveConf.ConfVars.METASTOREURIS, metastoreUri);
       useExternalMS = true;


Mime
View raw message