HDFS-3803. Change BlockPoolSliceScanner chatty INFO log to DEBUG. Contributed by Andrew Purtell
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1373174 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28e87740c5
commit
6c96039693
|
@ -117,6 +117,9 @@ Trunk (unreleased changes)
|
|||
HDFS-3723. Add support -h, -help to all the commands. (Jing Zhao via
|
||||
suresh)
|
||||
|
||||
HDFS-3803. Change BlockPoolSliceScanner chatty INFO log to DEBUG.
|
||||
(Andrew Purtell via suresh)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -554,9 +554,11 @@ class BlockPoolSliceScanner {
|
|||
}
|
||||
|
||||
private synchronized void startNewPeriod() {
|
||||
LOG.info("Starting a new period : work left in prev period : "
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Starting a new period : work left in prev period : "
|
||||
+ String.format("%.2f%%", totalBytesToScan == 0 ? 0
|
||||
: (bytesLeft * 100.0) / totalBytesToScan));
|
||||
}
|
||||
|
||||
// reset the byte counts :
|
||||
bytesLeft = totalBytesToScan;
|
||||
|
|
Loading…
Reference in New Issue