[
https://issues.apache.org/jira/browse/HDFS-581?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Konstantin Shvachko updated HDFS-581:
-------------------------------------
Attachment: BlockReportIterator.patch
This patch introduces {{BlockReportIterator}} in {{BlockListAs Longs}} and
deprecates previously publick getters of block id, length, and generation stamp
of blocks by the index. The iterator simplifies code in processing the report
on the name-node.
> Introduce an iterator over blocks in the block report array.
> ------------------------------------------------------------
>
> Key: HDFS-581
> URL: https://issues.apache.org/jira/browse/HDFS-581
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: name-node
> Affects Versions: 0.20.1
> Reporter: Konstantin Shvachko
> Assignee: Konstantin Shvachko
> Fix For: 0.21.0
>
> Attachments: BlockReportIterator.patch
>
>
> A block iterator will hide the internal implementation of the block report as
> an array of three longs per block.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.