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 06:31:00 UTC
[jira] [Created] (RANGER-3049) Policy import is too slow
fengxianjing created RANGER-3049:
------------------------------------
Summary: 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.1.0, 2.0.0, 2.2.0
Reporter: fengxianjing
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)