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] [Resolved] (HDFS-4612) Not to use INode.getParent() when generating snapshot diff report
Date Mon, 25 Mar 2013 10:23:16 GMT

     [ 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

View raw message