HBASE-24156: Switch the default registry to ZK based

In branch-2 we want to retain the ZK based registry as the default.
This commit is contained in:
Bharath Vissapragada 2020-02-26 11:21:00 -08:00
parent db7ad07081
commit 91aa3ce97c
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ final class ConnectionRegistryFactory {
*/ */
static ConnectionRegistry getRegistry(Configuration conf) { static ConnectionRegistry getRegistry(Configuration conf) {
Class<? extends ConnectionRegistry> clazz = conf.getClass( Class<? extends ConnectionRegistry> clazz = conf.getClass(
CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY, MasterRegistry.class, CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY, ZKConnectionRegistry.class,
ConnectionRegistry.class); ConnectionRegistry.class);
return ReflectionUtils.newInstance(clazz, conf); return ReflectionUtils.newInstance(clazz, conf);
} }