Skip to content

Commit 1fa62c8

Browse files
ZanderXuHarshitGupta11
authored andcommitted
HDFS-16658. Change logLevel from DEBUG to INFO if logEveryBlock is true (apache#4559). Contributed by ZanderXu.
Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
1 parent d0a3b9e commit 1fa62c8

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
@@ -3616,7 +3616,7 @@ private Block addStoredBlock(final BlockInfo block,
36163616
curReplicaDelta =
36173617
(node.isDecommissioned() || node.isDecommissionInProgress()) ? 0 : 1;
36183618
if (logEveryBlock) {
3619-
blockLog.debug("BLOCK* addStoredBlock: {} is added to {} (size={})",
3619+
blockLog.info("BLOCK* addStoredBlock: {} is added to {} (size={})",
36203620
node, storedBlock, storedBlock.getNumBytes());
36213621
}
36223622
} else if (result == AddBlockResult.REPLACED) {

0 commit comments

Comments
 (0)