Apache9 commented on a change in pull request #504: HBASE-22871 Move the 
DirScanPool out and do not use static field
URL: https://github.com/apache/hbase/pull/504#discussion_r314948373
 
 

 ##########
 File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
 ##########
 @@ -1445,22 +1447,20 @@ private void startServiceThreads() throws IOException {
    
this.executorService.startExecutorService(ExecutorType.MASTER_TABLE_OPERATIONS, 
1);
    startProcedureExecutor();
 
-    // Initial cleaner chore
-    CleanerChore.initChorePool(conf);
-   // Start log cleaner thread
-   int cleanerInterval = conf.getInt("hbase.master.cleaner.interval", 600 * 
1000);
-   this.logCleaner =
-      new LogCleaner(cleanerInterval,
-         this, conf, getMasterWalManager().getFileSystem(),
-         getMasterWalManager().getOldLogDir());
+    // Create cleaner thread pool
+    cleanerPool = new DirScanPool(conf);
+    // Start log cleaner thread
+    int cleanerInterval = conf.getInt("hbase.master.cleaner.interval", 600 * 
1000);
 
 Review comment:
   I think this is just a format change? Can do it in another issue if need as 
it is not introduced by the patch here.

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