You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jing Zhao (JIRA)" <ji...@apache.org> on 2013/03/22 02:27:15 UTC

[jira] [Updated] (HDFS-4612) Not to use INode.getParent() when generating snapshot diff report

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

Jing Zhao updated HDFS-4612:
----------------------------

    Assignee: Jing Zhao  (was: Tsz Wo (Nicholas), SZE)
    
> Not to use INode.getParent() when generating snapshot diff report
> -----------------------------------------------------------------
>
>                 Key: HDFS-4612
>                 URL: https://issues.apache.org/jira/browse/HDFS-4612
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: namenode
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Jing Zhao
>         Attachments: HDFS-4612.001.patch
>
>
> With rename, an inode may have multiple access paths, i.e. multiple parents.  In such case, INode.getParent() returns the parent in the current state but not the parents in the snapshots.  Therefore, we cannot use INode.getParent() to generate snapshot diff report.

--
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