You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Abhay Kulkarni (JIRA)" <ji...@apache.org> on 2017/08/16 21:02:00 UTC

[jira] [Resolved] (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 ]

Abhay Kulkarni resolved RANGER-1737.
------------------------------------
    Resolution: Fixed

This is resolved with the following commits.

Commit details:
master:
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/1b4e78b0
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/1b4e78b0
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/1b4e78b0

Branch: refs/heads/master
Commit: 1b4e78b0dcfad74b7fd2baea16364b7daf32159e
Parents: f7230f7

ranger-0.7:
Project: http://git-wip-us.apache.org/repos/asf/ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/ranger/commit/41da4514
Tree: http://git-wip-us.apache.org/repos/asf/ranger/tree/41da4514
Diff: http://git-wip-us.apache.org/repos/asf/ranger/diff/41da4514

Branch: refs/heads/ranger-0.7
Commit: 41da4514acdd434bb85305a406f3b2f5378af44d
Parents: 99abbcf

> 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
>
> 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
(v6.4.14#64029)