hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jing Zhao (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-4760) Update inodeMap after node replacement
Date Tue, 30 Apr 2013 01:54:16 GMT

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

Jing Zhao updated HDFS-4760:

    Attachment: HDFS-4760.005.patch

Yes. setReferredINode is called by replaceSelf and replaceChild. The previous patch missed
a scenario in replaceChild. Update the patch to fix.
> 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, HDFS-4760.003.patch, HDFS-4760.004.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

View raw message