From 558ee079fd04dfab8e61eca10ee98ab5bac89dfa Mon Sep 17 00:00:00 2001 From: Bharath Vissapragada Date: Wed, 26 Feb 2020 11:21:00 -0800 Subject: [PATCH] Switch the default registry to ZK based In branch-2 we want to retain the ZK based registry as the default. --- .../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 5688dea3b8f..93084437a42 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, MasterRegistry.class, + CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY, ZKConnectionRegistry.class, ConnectionRegistry.class); return ReflectionUtils.newInstance(clazz, conf); }