[ 
https://issues.apache.org/jira/browse/HDFS-546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12744053#action_12744053
 ] 

Hudson commented on HDFS-546:
-----------------------------

Integrated in Hadoop-Hdfs-trunk #52 (See 
[http://hudson.zones.apache.org/hudson/job/Hadoop-Hdfs-trunk/52/])
    . DatanodeDescriptor iterator blocks as BlockInfo. Contributed by 
Konstantin Shvachko.


> 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