[ 
https://issues.apache.org/jira/browse/HDFS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Shvachko updated HDFS-546:
-------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this.

> 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
>
>         Attachments: BlockIterator.patch
>
>
> {{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.

Reply via email to