[ 
https://issues.apache.org/jira/browse/HDFS-14112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16703871#comment-16703871
 ] 

Jitendra Nath Pandey commented on HDFS-14112:
---------------------------------------------

+1 for the latest patch.

> Avoid recursive call to external authorizer for getContentSummary.
> ------------------------------------------------------------------
>
>                 Key: HDFS-14112
>                 URL: https://issues.apache.org/jira/browse/HDFS-14112
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Jitendra Nath Pandey
>            Assignee: Tsz Wo Nicholas Sze
>            Priority: Critical
>         Attachments: h14112_20181128.patch, h14112_20181129.patch
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to