Skip to content

Commit e1406fa

Browse files
author
zengqiang.xu
committed
HDFS-16658. Change logLevel from DEBUG to INFO if logEveryBlock is true
1 parent f1bd4e1 commit e1406fa

File tree

1 file changed

+1
-1
lines changed
  • hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement

1 file changed

+1
-1
lines changed

hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3607,7 +3607,7 @@ private Block addStoredBlock(final BlockInfo block,
36073607
curReplicaDelta =
36083608
(node.isDecommissioned() || node.isDecommissionInProgress()) ? 0 : 1;
36093609
if (logEveryBlock) {
3610-
blockLog.debug("BLOCK* addStoredBlock: {} is added to {} (size={})",
3610+
blockLog.info("BLOCK* addStoredBlock: {} is added to {} (size={})",
36113611
node, storedBlock, storedBlock.getNumBytes());
36123612
}
36133613
} else if (result == AddBlockResult.REPLACED) {

0 commit comments

Comments
 (0)