You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramesh Mani (Jira)" <ji...@apache.org> on 2021/12/08 08:21:00 UTC
[jira] [Updated] (RANGER-1737) Fix potential performance issue introduced by RANGER-1181
[ https://issues.apache.org/jira/browse/RANGER-1737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramesh Mani updated RANGER-1737:
--------------------------------
Fix Version/s: 0.7.0
> Fix potential performance issue introduced by RANGER-1181
> ----------------------------------------------------------
>
> Key: RANGER-1737
> URL: https://issues.apache.org/jira/browse/RANGER-1737
> Project: Ranger
> Issue Type: Bug
> Components: plugins
> Affects Versions: 0.7.0, 0.7.1
> Reporter: Madhan Neethiraj
> Assignee: Abhay Kulkarni
> Priority: Major
> Fix For: 0.7.0
>
>
> Fix in RANGER-1181 added fallback to native authorizer for each level - parent/ancestor/self/subAccess. In the newly added fallback cases, FsAction.NONE was sent to the default authorizer - which caused the default authorizer to traverse the entire sub-tree to validate subAccess. This can cause performance issues, if the subtree has large number of files/directories.
> Calls to default authorizer should send null, instead of FsAction.NONE - this will eliminate the unnecessary subtree traversal.
> CC: [~arpitagarwal]
--
This message was sent by Atlassian Jira
(v8.20.1#820001)