HBASE-23287 LogCleaner is not added to choreService

Signed-off-by: Sean Busbey <busbey@apache.org>
This commit is contained in:
Baiqiang Zhao 2019-11-13 19:32:18 +08:00 committed by Sean Busbey
parent a154bd8a73
commit 5130bc52d5
1 changed files with 1 additions and 0 deletions

View File

@ -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>();