hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo (Nicholas), SZE (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-4760) Update inodeMap after node replacement
Date Sat, 27 Apr 2013 01:37:13 GMT

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

Tsz Wo (Nicholas), SZE commented on HDFS-4760:
----------------------------------------------

After some thinking, the relationship between FSDirectory and INodeMap should be has-a but
not is-a.  Do you agree?
                
> Update inodeMap after node replacement
> --------------------------------------
>
>                 Key: HDFS-4760
>                 URL: https://issues.apache.org/jira/browse/HDFS-4760
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: datanode, namenode
>            Reporter: Jing Zhao
>            Assignee: Jing Zhao
>         Attachments: HDFS-4760.001.patch, HDFS-4760.002.patch
>
>
> Similar with HDFS-4757, we need to update the inodeMap after node replacement. Because
a lot of node replacement happens in the snapshot branch (e.g., INodeDirectory => INodeDirectoryWithSnapshot,
INodeDirectory <=> INodeDirectorySnapshottable, INodeFile => INodeFileWithSnapshot
...), this becomes a non-trivial issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message