hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tsz Wo Nicholas Sze (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-14112) Avoid recursive call to external authorizer for getContentSummary.
Date Thu, 29 Nov 2018 22:01:00 GMT

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

Tsz Wo Nicholas Sze updated HDFS-14112:
---------------------------------------
       Resolution: Fixed
     Hadoop Flags: Reviewed
    Fix Version/s: 3.2.1
           Status: Resolved  (was: Patch Available)

Thanks [~jnp] for reviewing the patch.

I have committed this.

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


Mime
View raw message