HDFS-16079. Improve the block state change log (#3120). Contributed by tomscut.

Signed-off-by: He Xiaoqiao <hexiaoqiao@apache.org>
Signed-off-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
litao 2021-06-20 19:53:11 +08:00 committed by Ayush Saxena
parent ef3a2a3b3b
commit 7d202e8365

View File

@ -376,6 +376,8 @@ protected void logBlockReplicationInfo(BlockInfo block,
+ ", maintenance replicas: " + num.maintenanceReplicas()
+ ", live entering maintenance replicas: "
+ num.liveEnteringMaintenanceReplicas()
+ ", replicas on stale nodes: " + num.replicasOnStaleNodes()
+ ", readonly replicas: " + num.readOnlyReplicas()
+ ", excess replicas: " + num.excessReplicas()
+ ", Is Open File: " + bc.isUnderConstruction()
+ ", Datanodes having this block: " + nodeList + ", Current Datanode: "