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 2015/05/07 00:38:00 UTC

[jira] [Commented] (SENTRY-718) support for new show grant commands in hive 0.13+

    [ https://issues.apache.org/jira/browse/SENTRY-718?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14531584#comment-14531584 ] 

Lenni Kuff commented on SENTRY-718:
-----------------------------------

Sentry does not yet support GRANT/REVOKE from a user.

However, the first statement is has nothing user specific and the Sentry Hive binding should throw a different error. 

> support for new show grant commands in hive 0.13+
> -------------------------------------------------
>
>                 Key: SENTRY-718
>                 URL: https://issues.apache.org/jira/browse/SENTRY-718
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Anne Yu
>            Assignee: Prasad Mujumdar
>             Fix For: 1.5.0
>
>
> https://cwiki.apache.org/confluence/display/Hive/SQL+Standard+Based+Hive+Authorization documents new show grant commands for hive authorization model (0.13+)
> {code}
> 0: jdbc:hive2://a2110.halxg.cloudera.com:1000> show grant on table pageviews;
> Error: Error while compiling statement: FAILED: SemanticException Sentry does not allow privileges to be granted/revoked to/from: USER (state=42000,code=40000)
> 0: jdbc:hive2://a2110.halxg.cloudera.com:1000> show grant user systest on all;
> Error: Error while compiling statement: FAILED: SemanticException Sentry does not allow privileges to be granted/revoked to/from: USER (state=42000,code=40000)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)