[ https://issues.apache.org/jira/browse/SENTRY-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16570699#comment-16570699 ]
Karan Datta commented on SENTRY-2334: ------------------------------------- [~LinaAtAustin] Please see SENTRY-1007 along with SENTRY-1040, SENTRY-1041 and SENTRY-1019 for more information on this jira. > Optimize Sentry privilege comparison for requested privileges with current > privileges > ------------------------------------------------------------------------------------- > > Key: SENTRY-2334 > URL: https://issues.apache.org/jira/browse/SENTRY-2334 > Project: Sentry > Issue Type: Improvement > Components: Sentry > Reporter: Arjun Mishra > Assignee: Arjun Mishra > Priority: Major > Fix For: 2.1.0 > > > Sentry privilege comparison is not optimized when there are large number of > Hive Context inputs and therefore large number of requested privileges. > Currently Sentry checks for each requiredInputPrivilege, comparing privileges > for that input with all privileges of group/role. If number of inputs are > large, and number of privileges assigned to role+group are large this request > takes a long time -- This message was sent by Atlassian JIRA (v7.6.3#76005)