diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java index 9133515afb..16b79539fd 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java @@ -3645,7 +3645,8 @@ private Block addStoredBlock(final BlockInfo block, } else if (result == AddBlockResult.REPLACED) { curReplicaDelta = 0; blockLog.warn("BLOCK* addStoredBlock: block {} moved to storageType " + - "{} on node {}", reportedBlock, storageInfo.getStorageType(), node); + "{} on node {} storageId {}, reportedBlock is {}", reportedBlock, + storageInfo.getStorageType(), node, storageInfo.getStorageID(), reportedBlock); } else { // if the same block is added again and the replica was corrupt // previously because of a wrong gen stamp, remove it from the