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

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.7.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: