[ https://issues.apache.org/jira/browse/RANGER-2651?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16979447#comment-16979447 ]
Abhay Kulkarni commented on RANGER-2651: ---------------------------------------- Can you please provide details about the Java Runtime version used? Thanks! > Improve performance of building and querying RangerResourceTrie > ---------------------------------------------------------------- > > Key: RANGER-2651 > URL: https://issues.apache.org/jira/browse/RANGER-2651 > Project: Ranger > Issue Type: Improvement > Components: Ranger > Affects Versions: 2.0.0, 1.2.0 > Reporter: star > Priority: Major > Attachments: building resource trie.png, getMostLikelyEvaluators.png > > > When we have 100,000 policies, it takes a long time to initialize hive plugin > (more than 1min) and evaluate access request(more than 1s). Digging into the > process, we found java stack as above images. Obviously it is the > List.IndexOf method which makes it taking too much time. -- This message was sent by Atlassian Jira (v8.3.4#803005)