ndimiduk commented on code in PR #5745:
URL: https://github.com/apache/hbase/pull/5745#discussion_r1514837675
##########
hbase-common/src/main/java/org/apache/hadoop/hbase/HBaseConfiguration.java:
##########
@@ -250,12 +250,12 @@ private static void applyClusterKeyToConf(Configuration
conf, String key) throws
conf.set(HConstants.ZOOKEEPER_ZNODE_PARENT, zkClusterKey.getZnodeParent());
// Without the right registry, the above configs are useless. Also, we
don't use setClass()
// here because the ConnectionRegistry* classes are not resolvable from
this module.
- // This will be broken if ZkConnectionRegistry class gets renamed or
moved. Is there a better
- // way?
- LOG.info("Overriding client registry implementation to {}",
- HConstants.ZK_CONNECTION_REGISTRY_CLASS);
- conf.set(HConstants.CLIENT_CONNECTION_REGISTRY_IMPL_CONF_KEY,
- HConstants.ZK_CONNECTION_REGISTRY_CLASS);
+ // This will be broken if ZkConnectionRegistryInternal class gets renamed
or moved. Is there
+ // a better way?
+ String ZKConnectionRegistryClass =
+ "org.apache.hadoop.hbase.client.ZKConnectionRegistryInternal";
+ LOG.info("Overriding client registry implementation to {}",
ZKConnectionRegistryClass);
Review Comment:
We are logging like this currently. Presumably it was helpful during
development, but I doubt it provides value now. I can remove it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]