You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2013/03/25 11:23:16 UTC

[jira] [Resolved] (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 ]

Tsz Wo (Nicholas), SZE resolved HDFS-4612.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: Snapshot (HDFS-2802)

I have committed this.  Thanks, Jing!
                
> 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
>             Fix For: Snapshot (HDFS-2802)
>
>         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