HIVE-17728: TestHCatClient should use hive.metastore.transactional.event.listeners as per recommendation (Sankar Hariappan, 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/caf33303 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/caf33303 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/caf33303 Branch: refs/heads/hive-14535 Commit: caf3330330c9c8c5fc922f3186ddeab4266b60bb Parents: 32b7aba Author: Sankar Hariappan <[email protected]> Authored: Sat Oct 7 08:11:29 2017 +0530 Committer: Sankar Hariappan <[email protected]> Committed: Sat Oct 7 08:11:29 2017 +0530 ---------------------------------------------------------------------- .../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/caf33303/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 14c9a4b..78e767e 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 @@ -116,7 +116,7 @@ public class TestHCatClient { conf.set("hadoop.proxyuser." + Utils.getUGI().getShortUserName() + ".hosts", "*"); ProxyUsers.refreshSuperUserGroupsConfiguration(conf); - System.setProperty(HiveConf.ConfVars.METASTORE_EVENT_LISTENERS.varname, + System.setProperty(HiveConf.ConfVars.METASTORE_TRANSACTIONAL_EVENT_LISTENERS.varname, DbNotificationListener.class.getName()); // turn on db notification listener on metastore msPort = MetaStoreTestUtils.startMetaStore(); securityManager = System.getSecurityManager();
