wchevreuil commented on a change in pull request #781: HBASE-18095: 
Zookeeper-less client connection implementation
URL: https://github.com/apache/hbase/pull/781#discussion_r342083635
 
 

 ##########
 File path: 
hbase-server/src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java
 ##########
 @@ -213,6 +213,10 @@
 
   private volatile AsyncClusterConnection asyncConnection;
 
+  // Tracks any other connections created with custom  client config. Used for 
testing clients with custom
+  // configurations. Tracked here so that they can be cleaned up on close() / 
restart.
+  private List<AsyncClusterConnection> customConnections = 
Collections.synchronizedList(new ArrayList<>());
+
 
 Review comment:
   > because we need the service side meta/master tracking to happen using ZK 
and just the client side to use HMasterAsyncRegistry
   
   Oh, didn't know that was the intention. I thought it was just fine to leave 
even server side processes acting as client to use the master registry. Is the 
concern here related to an rpc overload? 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to