boolean isCleanerChoreEnabled() {
    boolean hfileCleanerFlag = true, logCleanerFlag = true;

    if (getHFileCleaner() != null) {
      hfileCleanerFlag = getHFileCleaner().getEnabled();
    }

    if (logCleaner != null) {
      logCleanerFlag = logCleaner.getEnabled();
    }

    return (hfileCleanerFlag && logCleanerFlag);
  }
<p>
Create a {@link ServerManager} instance.
</p>
<p>
Will be overridden in tests.
</p>
hbase-server/src/main/java/org/apache/hadoop/hbase/master/HMaster.java