hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Konstantin Shvachko (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HDFS-546) DatanodeDescriptor block iterator should be BlockInfo based rather than Block.
Date Sat, 15 Aug 2009 00:40:14 GMT

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

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

    Attachment: BlockIterator.patch

This should do.
There is no new functionality, so no new tests is required.

> 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.


Mime
View raw message