[ https://issues.apache.org/jira/browse/IMPALA-9242?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17024690#comment-17024690 ]
ASF subversion and git services commented on IMPALA-9242: --------------------------------------------------------- Commit 641c406938c0e17c0b85fb2a5e30739a5439df1d in impala's branch refs/heads/master from Csaba Ringhofer [ https://gitbox.apache.org/repos/asf?p=impala.git;h=641c406 ] IMPALA-9242: Bump CDH_BUILD_NUMBER to 1814051 The goal is to get SENTRY-2539 + SENTRY-1291. This will allow us to implement FilteredPrivilegeCache instead of PrivilegeCache to make Sentry access checks faster. Change-Id: I13a8ffcf6c8ce32f0901fc6ca35fda081fed4d06 Reviewed-on: http://gerrit.cloudera.org:8080/15063 Reviewed-by: Quanlong Huang <huangquanl...@gmail.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > Access check should only check against the privileges of the authorizable > ------------------------------------------------------------------------- > > Key: IMPALA-9242 > URL: https://issues.apache.org/jira/browse/IMPALA-9242 > Project: IMPALA > Issue Type: Improvement > Reporter: Vihang Karajgaonkar > Assignee: Csaba Ringhofer > Priority: Major > > Currently, according to the implementation of > https://github.com/apache/sentry/blob/branch-2.1.0/sentry-provider/sentry-provider-cache/src/main/java/org/apache/sentry/provider/cache/SimpleCacheProviderBackend.java#L64 > each access check request in Sentry is done against all the privileges of the > user. Instead, we can reduce the number of privilege checks significantly, if > we use this API in > https://github.com/apache/sentry/blob/master/sentry-provider/sentry-provider-cache/src/main/java/org/apache/sentry/provider/cache/PrivilegeCache.java#L46 > Unfortunately, SENTRY-1291 which is merged in master branch of Sentry is > unavailable. However, if we can have a interface side changes in > PrivilegeCache, Impala can implement a prefix-tree based {{PrivilegeCache}} > so that number of privileges returned are only related to the given > authorizable. This API can then be used in SimpleCacheProviderBackend to > reduce the processing time required to check access for a large number of > objects in large setups. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org