Revert "Switch the default registry to ZK based"

This reverts commit 558ee079fd04dfab8e61eca10ee98ab5bac89dfa because
it wasn't tagged with a jira ID. Will be re-applied.
This commit is contained in:
Bharath Vissapragada 2020-04-09 10:02:09 -07:00
parent 9eb49172d0
commit db7ad07081

View File

@ -36,7 +36,7 @@ final class ConnectionRegistryFactory {
*/
static ConnectionRegistry getRegistry(Configuration conf) {
Class<? extends ConnectionRegistry> 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);
}