[ https://issues.apache.org/jira/browse/HDFS-4749?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jing Zhao updated HDFS-4749: ---------------------------- Attachment: HDFS-4749.000.patch Initial patch. > Use INodeId to identify the corresponding directory node for FSImage > saving/loading > ----------------------------------------------------------------------------------- > > Key: HDFS-4749 > URL: https://issues.apache.org/jira/browse/HDFS-4749 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Jing Zhao > Assignee: Jing Zhao > Attachments: HDFS-4749.000.patch > > > Currently in fsimage, we use the path to locate a directory node for later > loading, i.e., when loading a subtree from fsimage, we first read the path of > the directory node, and resolve the path to identify the directory node. This > brings extra complexity since we need to generate path for directory nodes in > both the current tree and snapshot copies. > As a simplification, we can use INodeId to identify the directory node. -- 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