Repository: hive Updated Branches: refs/heads/branch-1.2 e2e49c6cd -> 20dffe0a2
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/20dffe0a Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/20dffe0a Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/20dffe0a Branch: refs/heads/branch-1.2 Commit: 20dffe0a27cb50a97f6d88f2b951b3a180ea6004 Parents: e2e49c6 Author: Sushanth Sowmyan <[email protected]> Authored: Wed Jun 3 14:58:22 2015 -0700 Committer: Sushanth Sowmyan <[email protected]> Committed: Wed Jun 3 14:59:22 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/20dffe0a/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;
