[
https://issues.apache.org/jira/browse/HDFS-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612615#comment-13612615
]
Hudson commented on HDFS-4612:
------------------------------
Integrated in Hadoop-Hdfs-Snapshots-Branch-build #140 (See
[https://builds.apache.org/job/Hadoop-Hdfs-Snapshots-Branch-build/140/])
HDFS-4612. Not to use INode.getParent() when generating snapshot diff
report. Contributed by Jing Zhao (Revision 1460590)
Result = FAILURE
szetszwo :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1460590
Files :
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/CHANGES.HDFS-2802.txt
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INode.java
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectorySnapshottable.java
*
/hadoop/common/branches/HDFS-2802/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/INodeDirectoryWithSnapshot.java
> 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