HDFS-11054. Suppress verbose log message in BlockPlacementPolicyDefault. Contributed by Chen Liang.
This commit is contained in:
parent
e4ba92abee
commit
a071e33a91
|
@ -1030,9 +1030,11 @@ public class BlockPlacementPolicyDefault extends BlockPlacementPolicy {
|
||||||
}
|
}
|
||||||
firstOne = false;
|
firstOne = false;
|
||||||
if (cur == null) {
|
if (cur == null) {
|
||||||
LOG.warn("No excess replica can be found. excessTypes: {}." +
|
if (LOG.isDebugEnabled()) {
|
||||||
" moreThanOne: {}. exactlyOne: {}.", excessTypes, moreThanOne,
|
LOG.debug("No excess replica can be found. excessTypes: {}." +
|
||||||
exactlyOne);
|
" moreThanOne: {}. exactlyOne: {}.", excessTypes,
|
||||||
|
moreThanOne, exactlyOne);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue