Jing Zhao created HDFS-4749:
-------------------------------
Summary: 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
Reporter: Jing Zhao
Assignee: Jing Zhao
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