You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Mahesh Bandal (Jira)" <ji...@apache.org> on 2025/09/09 16:38:00 UTC
[jira] [Updated] (RANGER-5294) FileUtils.isOwnerOfFileHierarchy doesn’t have the recurse parameter
[ 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)