Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7508

Clean up path resolving in FSNamesystem/FSDirectory

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • namenode
    • None

    Description

      There are several issues with our current path resolving process:

      1. For a single operation we may repeat resolving the same path
      2. 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.
      3. 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.

      Attachments

        Activity

          People

            jingzhao Jing Zhao
            jingzhao Jing Zhao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: