Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
0.20.1
-
None
-
None
Description
RaidNode currently does not fix missing blocks. The missing blocks have to be fixed manually.
This task proposes that recovery be more automated:
1. RaidNode periodically fetches a list of corrupt files from the NameNode
2. If the corrupt files has a RAID parity file, RaidNode identifies missing block(s) in the file and recomputes the block(s) using the parity file and other good blocks
3. RaidNode sends the generated block contents to a DataNode
a. RaidNode chooses a DataNode with the most available space to send the block.