Sean Busbey created HBASE-23250:
-----------------------------------
Summary: Log message about CleanerChore delegate initialization
should be at INFO
Key: HBASE-23250
URL: https://issues.apache.org/jira/browse/HBASE-23250
Project: HBase
Issue Type: Task
Components: master, Operability
Reporter: Sean Busbey
Right now we log a DEBUG message as we initialize the delegates that decide on
cleaner decisions:
{code}
2019-10-30 07:30:01,594 DEBUG
org.apache.hadoop.hbase.master.cleaner.CleanerChore: initialize
cleaner=org.apache.hadoop.hbase.replication.master.ReplicationLogCleaner
2019-10-30 07:30:01,597 DEBUG
org.apache.hadoop.hbase.master.cleaner.CleanerChore: initialize
cleaner=org.apache.hadoop.hbase.master.snapshot.SnapshotLogCleaner
2019-10-30 07:30:01,600 DEBUG
org.apache.hadoop.hbase.master.cleaner.CleanerChore: initialize
cleaner=org.apache.hadoop.hbase.master.cleaner.HFileLinkCleaner
2019-10-30 07:30:01,601 DEBUG
org.apache.hadoop.hbase.master.cleaner.CleanerChore: initialize
cleaner=org.apache.hadoop.hbase.master.snapshot.SnapshotHFileCleaner
2019-10-30 07:30:01,602 DEBUG
org.apache.hadoop.hbase.master.cleaner.CleanerChore: initialize
cleaner=org.apache.hadoop.hbase.master.cleaner.TimeToLiveHFileCleaner
{code}
Done here in CleanerChore.java:
{code}
private void initCleanerChain(String confKey) {
this.cleanersChain = new LinkedList<>();
String[] logCleaners = conf.getStrings(confKey);
if (logCleaners != null) {
for (String className : logCleaners) {
T logCleaner = newFileCleaner(className, conf);
if (logCleaner != null) {
LOG.debug("Initialize cleaner={}", className);
this.cleanersChain.add(logCleaner);
}
}
}
}
{code}
This message should be at INFO. it doesn't happen often and knowing what
plugins decide about file deletions is important all the time.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)