You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Haohui Mai (JIRA)" <ji...@apache.org> on 2014/12/03 03:07:12 UTC

[jira] [Created] (HDFS-7469) Inline permission checking done by FSPermissionChecker#checkSubAccess

Haohui Mai created HDFS-7469:
--------------------------------

             Summary: Inline permission checking done by FSPermissionChecker#checkSubAccess
                 Key: HDFS-7469
                 URL: https://issues.apache.org/jira/browse/HDFS-7469
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: Haohui Mai
            Assignee: Haohui Mai
         Attachments: HDFS-7469.000.patch

{{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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)