sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hao Hao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-1015) Improve Sentry + Hive error message when user does not have sufficient privileges to perform an operation
Date Thu, 21 Jan 2016 07:20:39 GMT

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

Hao Hao commented on SENTRY-1015:
---------------------------------

BTW, do I need to post a CR for this? Since it is a really small change.

> Improve Sentry + Hive error message when user does not have sufficient privileges to
perform an operation
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-1015
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1015
>             Project: Sentry
>          Issue Type: Improvement
>            Reporter: Hao Hao
>            Assignee: Hao Hao
>         Attachments: SENTRY-1015.0.patch
>
>
> Sentry + Hive error message now is:
> {noformat}
> FAILED: SemanticException No valid privileges
>  User user2_1 does not have privileges for ALTERTABLE_PROPERTIES
> {noformat}
> Should add the required privileges in the exception message.
> Updated error message would be:
> {noformat}
> FAILED: SemanticException No valid privileges
>  User user2_1 does not have privileges for ALTERTABLE_PROPERTIES
>  The required privileges: Server=server1->Db=db_1->Table=tb1->action=alter;
> {noformat}



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

Mime
View raw message