From b33c200a28d6f26e68e3e2e651b7da463f030dc2 Mon Sep 17 00:00:00 2001 From: Bharath Vissapragada Date: Thu, 9 Apr 2020 10:12:00 -0700 Subject: [PATCH] Revert "Switch the default registry to ZK based" This reverts commit 558ee079fd04dfab8e61eca10ee98ab5bac89dfa because it was not tagged with a jira ID. Will be re-applied. --- .../apache/hadoop/hbase/client/ConnectionRegistryFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryFactory.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryFactory.java index 93084437a42..5688dea3b8f 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryFactory.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionRegistryFactory.java @@ -36,7 +36,7 @@ final class ConnectionRegistryFactory { */ static ConnectionRegistry getRegistry(Configuration conf) { Class clazz = conf.getClass( - CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY, ZKConnectionRegistry.class, + CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY, MasterRegistry.class, ConnectionRegistry.class); return ReflectionUtils.newInstance(clazz, conf); }