You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by bu...@apache.org on 2019/11/15 18:09:16 UTC

[hbase] branch branch-1.4 updated: HBASE-23287 LogCleaner is not added to choreService

This is an automated email from the ASF dual-hosted git repository.

busbey pushed a commit to branch branch-1.4
in repository https://gitbox.apache.org/repos/asf/hbase.git


The following commit(s) were added to refs/heads/branch-1.4 by this push:
     new 1df105c  HBASE-23287 LogCleaner is not added to choreService
1df105c is described below

commit 1df105c8a99f500e00a54c6b6ec42482f2b282f1
Author: Baiqiang Zhao <zb...@gmail.com>
AuthorDate: Wed Nov 13 19:32:18 2019 +0800

    HBASE-23287 LogCleaner is not added to choreService
    
    Signed-off-by: Sean Busbey <bu...@apache.org>
---
 hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
index 7a49623..bbab8c5 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java
@@ -1243,6 +1243,7 @@ public class HMaster extends HRegionServer implements MasterServices, Server {
     this.logCleaner = new LogCleaner(cleanerInterval, this, conf,
       getMasterFileSystem().getOldLogDir().getFileSystem(conf),
       getMasterFileSystem().getOldLogDir(), cleanerPool);
+    getChoreService().scheduleChore(logCleaner);
    //start the hfile archive cleaner thread
     Path archiveDir = HFileArchiveUtil.getArchivePath(conf);
     Map<String, Object> params = new HashMap<String, Object>();