DatanodeDescriptor block iterator should be BlockInfo based rather than Block.
------------------------------------------------------------------------------
Key: HDFS-546
URL: https://issues.apache.org/jira/browse/HDFS-546
Project: Hadoop HDFS
Issue Type: Improvement
Components: name-node
Affects Versions: 0.21.0
Reporter: Konstantin Shvachko
Assignee: Konstantin Shvachko
Fix For: 0.21.0
{{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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.