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

[jira] [Commented] (RANGER-3049) Policy import is too slow

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

Bhavik Patel commented on RANGER-3049:
--------------------------------------

Thanks [~fengxianjing] for reporting this.

Are you working on this?

> Policy import is too slow
> -------------------------
>
>                 Key: RANGER-3049
>                 URL: https://issues.apache.org/jira/browse/RANGER-3049
>             Project: Ranger
>          Issue Type: Improvement
>          Components: Ranger
>    Affects Versions: 2.0.0, 2.1.0, 2.2.0
>            Reporter: fengxianjing
>            Assignee: fengxianjing
>            Priority: Major
>
> emphasized textWe have about 30000 policies, I found it took me about 1 second per policy. So it will take more than 8 hour。
> To resolve this problem,the following optimizations can be made:
> 1.cache user/group/role/accessType when policy importing 
> 2.ensureAdminAccess call only once if current user is isadmin



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