Apache9 commented on a change in pull request #155: HBASE-22244 Make use of 
MetricsConnection in async client
URL: https://github.com/apache/hbase/pull/155#discussion_r276493843
 
 

 ##########
 File path: 
hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionImplementation.java
 ##########
 @@ -190,10 +190,10 @@
 
   // thread executor shared by all Table instances created
   // by this connection
-  private volatile ExecutorService batchPool = null;
+  private volatile ThreadPoolExecutor batchPool = null;
 
 Review comment:
   Yes, the MetricsConnection need to call the thread count related methods in 
ThreadPoolExecutor.

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