[
https://issues.apache.org/jira/browse/RANGER-3049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
fengxianjing updated RANGER-3049:
---------------------------------
Description:
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
was:
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
> 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.3.4#803005)