Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Reviewed
Description
HDFS-7369 adds the functionality to distribute recovery work of striped blocks to datanodes. There are still some pending issues:
- In BlockManager#chooseSourceNode, a node is added into healthyIndices without checking if its block is live and healthy
- The test TestRecoverStripedBlcoks#testMissingStripedBlock has not tested striped blocks because the file is created before setting the storage policy
- In computeRecoveryWorkForBlocks, instead of using BlockCollection#isStriped, we'd better use BlockInfo#isStriped