Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.6.0
-
None
-
None
-
Reviewed
Description
When you run fsck with "-files" or "-racks", you will get something like below if one of the replicas is decommissioned.
blk_x len=y repl=3 [dn1, dn2, dn3, dn4]
That is because in NamenodeFsck, the repl count comes from live replicas count; while the actual nodes come from LocatedBlock which include decommissioned nodes.
Another issue in NamenodeFsck is BlockPlacementPolicy's verifyBlockPlacement verifies LocatedBlock that includes decommissioned nodes. However, it seems better to exclude the decommissioned nodes in the verification; just like how fsck excludes decommissioned nodes when it check for under replicated blocks.
Attachments
Attachments
Issue Links
- relates to
-
HDFS-8174 Update replication count to live rep count in fsck report
-
- Resolved
-