You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Ramachandran (Jira)" <ji...@apache.org> on 2022/12/13 10:26:00 UTC

[jira] [Comment Edited] (RANGER-2884) Search policies from db store instead of filtering by RangerServicePoliciesCache in ranger admin

    [ https://issues.apache.org/jira/browse/RANGER-2884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17646542#comment-17646542 ] 

Ramachandran edited comment on RANGER-2884 at 12/13/22 10:25 AM:
-----------------------------------------------------------------

[~starphin]  [~madhan@apache.org]  : As part of the below ticket we addressed to fetch the policy for the given policyName and serviceName from DB instead of RangerServicePoliciesCache

RANGER-4012 :getPolicyByName searches policy by serviceName, policyName simply by traverse all policies in RangerServicePoliciesCache instead of DB

 

 


was (Author: JIRAUSER295265):
[~starphin]  [~madhan@apache.org]  : As part of the below ticket we addressed to fetch the policy for the given policyName and serviceName

RANGER-4012 :getPolicyByName searches policy by serviceName, policyName simply by traverse all policies in RangerServicePoliciesCache instead of DB

 

 

> Search policies from db store instead of filtering by RangerServicePoliciesCache in ranger admin
> ------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-2884
>                 URL: https://issues.apache.org/jira/browse/RANGER-2884
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>    Affects Versions: 2.0.0, 1.2.0
>            Reporter: star
>            Assignee: star
>            Priority: Major
>
> Now, ranger admin searches policies by user name or group name simply by traverse all policies in RangerServicePoliciesCache. However It take more than 10 seconds to search policies when there are millions of policies, which is not acceptable.



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