Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.7.0
-
None
-
Reviewed
Description
corruptReplicas#isReplicaCorrupt(block, node) is called for every node while populating the machines array. There's no need to invoke the method if corruptReplicas#numCorruptReplicas(block) returned 0.
Attachments
Attachments
Issue Links
- is related to
-
HDFS-9958 BlockManager#createLocatedBlocks can throw NPE for corruptBlocks on failed storages.
- Closed