[
https://issues.apache.org/jira/browse/HDFS-4612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jing Zhao updated HDFS-4612:
----------------------------
Attachment: HDFS-4612.001.patch
Initial patch. Need to add more unit tests for diff report after renaming
operations.
> 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: Tsz Wo (Nicholas), SZE
> 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