HBASE-20554 "WALs outstanding" message from CleanerChore is noisy
This commit is contained in:
parent
9c046c091c
commit
32dd633b98
@ -272,9 +272,13 @@ public abstract class CleanerChore<T extends FileCleanerDelegate> extends Schedu
|
|||||||
try {
|
try {
|
||||||
POOL.latchCountUp();
|
POOL.latchCountUp();
|
||||||
if (runCleaner()) {
|
if (runCleaner()) {
|
||||||
LOG.debug("Cleaned all WALs under {}", oldFileDir);
|
if (LOG.isTraceEnabled()) {
|
||||||
|
LOG.trace("Cleaned all WALs under {}", oldFileDir);
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
LOG.warn("WALs outstanding under {}", oldFileDir);
|
if (LOG.isTraceEnabled()) {
|
||||||
|
LOG.trace("WALs outstanding under {}", oldFileDir);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
POOL.latchCountDown();
|
POOL.latchCountDown();
|
||||||
@ -287,7 +291,9 @@ public abstract class CleanerChore<T extends FileCleanerDelegate> extends Schedu
|
|||||||
POOL.updatePool((long) (0.8 * getTimeUnit().toMillis(getPeriod())));
|
POOL.updatePool((long) (0.8 * getTimeUnit().toMillis(getPeriod())));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
LOG.debug("Cleaner chore disabled! Not cleaning.");
|
if (LOG.isTraceEnabled()) {
|
||||||
|
LOG.trace("Cleaner chore disabled! Not cleaning.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user