You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "fengxianjing (Jira)" <ji...@apache.org> on 2020/10/20 08:42:00 UTC
[jira] [Assigned] (RANGER-3049) Policy import is too slow
[ https://issues.apache.org/jira/browse/RANGER-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
fengxianjing reassigned RANGER-3049:
------------------------------------
Assignee: fengxianjing
> 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
>
> We 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.3.4#803005)