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 16:47:36 UTC
[hbase] branch branch-1 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
in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push:
new 5130bc5 HBASE-23287 LogCleaner is not added to choreService
5130bc5 is described below
commit 5130bc52d5bf0a1ccc32c3339b57c066b67e4e76
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 278d86b..5eb60d6 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
@@ -1259,6 +1259,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>();