[
https://issues.apache.org/jira/browse/HDFS-7437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223663#comment-14223663
]
Haohui Mai commented on HDFS-7437:
----------------------------------
The v0 patch adds fileId and replication factor into the {{BlockInfo}} object,
breaking the dependency from {{BlockInfo}} to {{BlockCollection}}. The
references of {{BlockInfo}} in {{INodeFIle}} remains intact.
> Storing block ids instead of BlockInfo object in INodeFile
> ----------------------------------------------------------
>
> Key: HDFS-7437
> URL: https://issues.apache.org/jira/browse/HDFS-7437
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Haohui Mai
> Assignee: Haohui Mai
> Attachments: HDFS-7437.000.patch
>
>
> Currently {{INodeFile}} stores the lists of blocks as references of
> {{BlockInfo}} instead of the block ids. This creates implicit dependency
> between the namespace and the block manager.
> The dependency blocks several recent efforts, such as separating the block
> manager out as a standalone service, moving block information off heap, and
> optimizing the memory usage of block manager.
> This jira proposes to decouple the dependency by storing block ids instead of
> object reference in {{INodeFile}} objects.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)