HDFS-16658. Change logLevel from DEBUG to INFO if logEveryBlock is true (#4559). Contributed by ZanderXu.
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
This commit is contained in:
parent
06ac327e88
commit
a5adc27c99
|
@ -3616,7 +3616,7 @@ public class BlockManager implements BlockStatsMXBean {
|
|||
curReplicaDelta =
|
||||
(node.isDecommissioned() || node.isDecommissionInProgress()) ? 0 : 1;
|
||||
if (logEveryBlock) {
|
||||
blockLog.debug("BLOCK* addStoredBlock: {} is added to {} (size={})",
|
||||
blockLog.info("BLOCK* addStoredBlock: {} is added to {} (size={})",
|
||||
node, storedBlock, storedBlock.getNumBytes());
|
||||
}
|
||||
} else if (result == AddBlockResult.REPLACED) {
|
||||
|
|
Loading…
Reference in New Issue