Description
DatanodeDescriptor.BlockIterator currently implements Iterator<Block>. I need to change it to implement Iterator<BlockInfo> instead. Otherwise, I cannot filter out blocks under construction in order to exclude them from balancing, as Hairong suggested in HDFS-517.
Attachments
Attachments
Issue Links
- blocks
-
HDFS-517 Introduce BlockInfoUnderConstruction to reflect block replica states while writing.
- Resolved