HDFS-8174. Update replication count to live rep count in fsck report. Contributed by J.Andreina
This commit is contained in:
parent
66988476d0
commit
2ea0f2fc93
@ -656,6 +656,8 @@ Release 2.8.0 - UNRELEASED
|
|||||||
|
|
||||||
HDFS-8067. haadmin prints out stale help messages (Ajith S via vinayakumarb)
|
HDFS-8067. haadmin prints out stale help messages (Ajith S via vinayakumarb)
|
||||||
|
|
||||||
|
HDFS-8174. Update replication count to live rep count in fsck report. (J.Andreina)
|
||||||
|
|
||||||
Release 2.7.1 - UNRELEASED
|
Release 2.7.1 - UNRELEASED
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
@ -631,7 +631,7 @@ private void collectBlocksSummary(String parent, HdfsFileStatus file, Result res
|
|||||||
missing++;
|
missing++;
|
||||||
missize += block.getNumBytes();
|
missize += block.getNumBytes();
|
||||||
} else {
|
} else {
|
||||||
report.append(" repl=" + liveReplicas);
|
report.append(" Live_repl=" + liveReplicas);
|
||||||
if (showLocations || showRacks || showReplicaDetails) {
|
if (showLocations || showRacks || showReplicaDetails) {
|
||||||
StringBuilder sb = new StringBuilder("[");
|
StringBuilder sb = new StringBuilder("[");
|
||||||
Iterable<DatanodeStorageInfo> storages = bm.getStorages(block.getLocalBlock());
|
Iterable<DatanodeStorageInfo> storages = bm.getStorages(block.getLocalBlock());
|
||||||
|
Loading…
Reference in New Issue
Block a user