You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by GitBox <gi...@apache.org> on 2019/09/27 23:34:59 UTC

[GitHub] [hbase] saintstack commented on a change in pull request #664: HBASE-23083 Collect Executor status info periodically and report to metric system

saintstack commented on a change in pull request #664: HBASE-23083 Collect Executor status info periodically and report to metric system
URL: https://github.com/apache/hbase/pull/664#discussion_r329281885
 
 

 ##########
 File path: hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
 ##########
 @@ -1922,6 +1926,14 @@ private void startServices() throws IOException {
       HConstants.DEFAULT_THREAD_WAKE_FREQUENCY);
       healthCheckChore = new HealthCheckChore(sleepTime, this, getConfiguration());
     }
+    // Executor status collect thread.
+    if (this.conf.getBoolean(HConstants.EXECUTOR_STATUS_COLLECTE_ENABLED,
+        HConstants.DEFAULT_EXECUTOR_STATUS_COLLECTE_ENABLED)) {
+      int sleepTime = this.conf.getInt(ExecutorStatusChore.WAKE_FREQ,
+          ExecutorStatusChore.DEFAULT_WAKE_FREQ);
+      executorStatusChore = new ExecutorStatusChore(sleepTime, this, this.getExecutorService(),
 
 Review comment:
   Are there other executor services running in RS? This the only one?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services