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:
parent
ef3a2a3b3b
commit
7d202e8365
@ -376,6 +376,8 @@ protected void logBlockReplicationInfo(BlockInfo block,
|
|||||||
+ ", maintenance replicas: " + num.maintenanceReplicas()
|
+ ", maintenance replicas: " + num.maintenanceReplicas()
|
||||||
+ ", live entering maintenance replicas: "
|
+ ", live entering maintenance replicas: "
|
||||||
+ num.liveEnteringMaintenanceReplicas()
|
+ num.liveEnteringMaintenanceReplicas()
|
||||||
|
+ ", replicas on stale nodes: " + num.replicasOnStaleNodes()
|
||||||
|
+ ", readonly replicas: " + num.readOnlyReplicas()
|
||||||
+ ", excess replicas: " + num.excessReplicas()
|
+ ", excess replicas: " + num.excessReplicas()
|
||||||
+ ", Is Open File: " + bc.isUnderConstruction()
|
+ ", Is Open File: " + bc.isUnderConstruction()
|
||||||
+ ", Datanodes having this block: " + nodeList + ", Current Datanode: "
|
+ ", Datanodes having this block: " + nodeList + ", Current Datanode: "
|
||||||
|
Loading…
Reference in New Issue
Block a user