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

Inline permission checking done by FSPermissionChecker#checkSubAccess

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      FSPermissionChecker#checkSubAccess is used by getContentSummary() and computeSnapshotDiff() to validate the permission of the entire subtree through BFS.

      As these two calls traverse subtrees to compute the result, the permission checking should be done during the same traversal.

      Attachments

        1. HDFS-7469.000.patch
          39 kB
          Haohui Mai
        2. HDFS-7469.001.patch
          44 kB
          Haohui Mai
        3. HDFS-7469.002.patch
          46 kB
          Haohui Mai
        4. HDFS-7469.003.patch
          49 kB
          Haohui Mai
        5. HDFS-7469.004.patch
          49 kB
          Haohui Mai
        6. HDFS-7469.005.patch
          48 kB
          Haohui Mai
        7. HDFS-7469.006.patch
          46 kB
          Haohui Mai

        Activity

          People

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

            Dates

              Created:
              Updated: