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

Mahesh Bandal updated RANGER-5294:
----------------------------------
    Description: In RangerHiveAuthorizer.java#L2226, 
FileUtils.isOwnerOfFileHierarchy will list all the directories under the 
table/partition directory, which might add some latency if there are lots of 
files and cause the spike load on file system. can we pass the recurse 
parameter to this method similar to isActionPermittedForFileHierarchy?

> FileUtils.isOwnerOfFileHierarchy doesn’t have the recurse parameter
> -------------------------------------------------------------------
>
>                 Key: RANGER-5294
>                 URL: https://issues.apache.org/jira/browse/RANGER-5294
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>            Reporter: Mahesh Bandal
>            Assignee: Mahesh Bandal
>            Priority: Major
>
> In RangerHiveAuthorizer.java#L2226, FileUtils.isOwnerOfFileHierarchy will 
> list all the directories under the table/partition directory, which might add 
> some latency if there are lots of files and cause the spike load on file 
> system. can we pass the recurse parameter to this method similar to 
> isActionPermittedForFileHierarchy?



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to