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

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

[~lskuff] Updated the description with new error messages.

> 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)

Reply via email to