Madhan Neethiraj created RANGER-1737:
----------------------------------------

             Summary: 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.1, 0.7.0
            Reporter: Madhan Neethiraj


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)

Reply via email to