You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jitendra Nath Pandey (JIRA)" <ji...@apache.org> on 2018/11/29 04:11:00 UTC

[jira] [Commented] (HDFS-14112) Avoid recursive call to external authorizer for getContentSummary.

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

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

+1, pending jenkins.

> 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
>
>
> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org