Jing Zhao created HDFS-7508: ------------------------------- Summary: Clean up path resolving in FSNamesystem/FSDirectory Key: HDFS-7508 URL: https://issues.apache.org/jira/browse/HDFS-7508 Project: Hadoop HDFS Issue Type: Improvement Components: namenode Reporter: Jing Zhao Assignee: Jing Zhao
There are several issues with our current path resolving process: # For a single operation we may repeat resolving the same path # Each operation needs to invoke multiple calls for path resolving, including handling reserved path, breaking the path into components, identifying corresponding inodes etc. This makes the path resolving process hard to follow. # The logic in INodesInPath is complicated and not direct. Ideally for each operation we should only resolve the path once in the beginning, and always use the INodesInPath instance afterwards. This requires a lot of code cleanup. We will use this jira as the umbrella jira to track all the efforts. -- This message was sent by Atlassian JIRA (v6.3.4#6332)