You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Sergio Peña (JIRA)" <ji...@apache.org> on 2017/09/27 19:55:07 UTC
[jira] [Created] (SENTRY-1969) hive-authz2 makes two sentry
permission requests for CREATE TABLE and CREATE/DROP FUNCTION statements
Sergio Peña created SENTRY-1969:
-----------------------------------
Summary: 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
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
(v6.4.14#64029)