[
https://issues.apache.org/jira/browse/HDFS-3363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13267632#comment-13267632
]
Tsz Wo (Nicholas), SZE commented on HDFS-3363:
----------------------------------------------
Block management should only care about blocks but not the namespace. It
should not know anything about the namespace. It makes sense to define a
BlockCollection interface for INodeFile and INodeFileUnderConstruction. We
probably need two interfaces, one for mutable collections and another one for
immutable collections.
> blockmanagement should stop using INodeFile & INodeFileUC
> ----------------------------------------------------------
>
> Key: HDFS-3363
> URL: https://issues.apache.org/jira/browse/HDFS-3363
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: name-node
> Affects Versions: 2.0.0, 3.0.0
> Reporter: John George
> Assignee: John George
> Priority: Minor
>
> Blockmanagement should stop using INodeFile and INodeFileUnderConstruction.
> One way would be to create an interface, like BlockColletion, that is passed
> along to the blockmanagement.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira