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

 ##########
 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:
   @apurtell Agree, that makes the whole design simpler. That is my end goal.

----------------------------------------------------------------
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