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

Avoid recursive call to external authorizer for getContentSummary.

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.1
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      HDFS-12130 optimizes permission check, and invokes permission checker recursively for each component of the tree, which works well for FSPermission checker.

      But for certain external authorizers it may be more efficient to make one call with subaccess, because often they don't have to evaluate for each and every component of the path.

        Attachments

        1. h14112_20181129.patch
          5 kB
          Tsz-wo Sze
        2. h14112_20181128.patch
          4 kB
          Tsz-wo Sze

          Activity

            People

            • Assignee:
              szetszwo Tsz-wo Sze
              Reporter:
              jnp Jitendra Nath Pandey
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: