You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Jan Hentschel (Jira)" <ji...@apache.org> on 2019/11/05 20:03:00 UTC
[jira] [Resolved] (HBASE-23250) Log message about CleanerChore
delegate initialization should be at INFO
[ https://issues.apache.org/jira/browse/HBASE-23250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Hentschel resolved HBASE-23250.
-----------------------------------
Fix Version/s: 2.2.3
2.1.8
1.3.7
1.4.12
1.6.0
2.3.0
3.0.0
Hadoop Flags: Reviewed
Release Note: CleanerChore delegate initialization is now logged at INFO level instead of DEBUG
Resolution: Fixed
> 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
> Assignee: Rabi Kumar K C
> Priority: Minor
> Labels: beginner
> Fix For: 3.0.0, 2.3.0, 1.6.0, 1.4.12, 1.3.7, 2.1.8, 2.2.3
>
>
> 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)