Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7508 Clean up path resolving in FSNamesystem/FSDirectory
  3. HDFS-7543

Avoid path resolution when getting FileStatus for audit logs

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The current API of getAuditFileInfo() forces parsing the paths again when generating the HdfsFileStatus for audit logs. This jira proposes to avoid the repeated parsing by passing the INodesInPath object instead of the path.

        Attachments

        1. HDFS-7543.000.patch
          23 kB
          Haohui Mai

          Activity

            People

            • Assignee:
              wheat9 Haohui Mai
              Reporter:
              wheat9 Haohui Mai
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: