[ https://issues.apache.org/jira/browse/SENTRY-1969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Na Li reassigned SENTRY-1969: ----------------------------- Assignee: (was: Na Li) > hive-authz2 makes two sentry permission requests for CREATE TABLE and > CREATE/DROP FUNCTION statements > ----------------------------------------------------------------------------------------------------- > > Key: SENTRY-1969 > URL: https://issues.apache.org/jira/browse/SENTRY-1969 > Project: Sentry > Issue Type: Bug > Components: Sentry > Affects Versions: 2.0.0 > Reporter: Sergio Peña > Priority: Major > > When Hive compiles a CREATE TABLE or CREATE/DROP FUNCTION operation, it > requests authorization to Sentry twice: > One when calling HiveAuthzBindingHookV2.postAnalyse() and another when > calling the V2 > authorization API SentryHiveAuthorizer.checkPrivileges(). > Perhaps this code was left by accident as the postAnalyse() is the old way to > request > authorization. SentryHiveAuthozer should be used only. -- This message was sent by Atlassian JIRA (v7.6.3#76005)