You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Lenni Kuff (JIRA)" <ji...@apache.org> on 2016/03/18 17:43:33 UTC
[jira] [Created] (SENTRY-1139) EXPLAIN ALTER TABLE does not respect
Sentry privileges in Hive
Lenni Kuff created SENTRY-1139:
----------------------------------
Summary: EXPLAIN ALTER TABLE does not respect Sentry privileges in Hive
Key: SENTRY-1139
URL: https://issues.apache.org/jira/browse/SENTRY-1139
Project: Sentry
Issue Type: Bug
Components: Hive Binding
Affects Versions: 1.7.0
Reporter: Lenni Kuff
It seems that EXPLAIN on an ALTER TABLE statement fails with invalid privileges in Hive when the user has full privileges on the table. Executing the the statement without EXPLAIN succeeds.
Example:
{code}
0: jdbc:hive2://XXX.cloudera.com:> explain alter table mydummy drop partition(year='20151212');
Error: Error while compiling statement: FAILED: SemanticException No valid privileges
Required privileges for this query: (state=42000,code=40000)
0: jdbc:hive2://XXXX.cloudera.com:> alter table mydummy drop partition(year='20151212');
No rows affected (0.286 seconds)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)