[ https://issues.apache.org/jira/browse/HDFS-4760?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-4760: ---------------------------- Attachment: HDFS-4760.004.patch Update the patch: update the inodeMap in INodeDirectory#replaceSelf and INodeDirectory#replaceChild. > Update inodeMap after node replacement > -------------------------------------- > > Key: HDFS-4760 > URL: https://issues.apache.org/jira/browse/HDFS-4760 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Jing Zhao > Assignee: Jing Zhao > Attachments: HDFS-4760.001.patch, HDFS-4760.002.patch, > HDFS-4760.003.patch, HDFS-4760.004.patch > > > Similar with HDFS-4757, we need to update the inodeMap after node > replacement. Because a lot of node replacement happens in the snapshot branch > (e.g., INodeDirectory => INodeDirectoryWithSnapshot, INodeDirectory <=> > INodeDirectorySnapshottable, INodeFile => INodeFileWithSnapshot ...), this > becomes a non-trivial issue. -- 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