[ 
https://issues.apache.org/jira/browse/HDFS-7469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Haohui Mai updated HDFS-7469:
-----------------------------
    Attachment: HDFS-7469.003.patch

> 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, HDFS-7469.001.patch, 
> HDFS-7469.002.patch, HDFS-7469.003.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)

Reply via email to