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 2014/11/05 21:53:34 UTC

[jira] [Assigned] (SENTRY-516) Improve auth failure error message when user has no privileges on a URI

     [ https://issues.apache.org/jira/browse/SENTRY-516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lenni Kuff reassigned SENTRY-516:
---------------------------------

    Assignee: Lenni Kuff

> Improve auth failure error message when user has no privileges on a URI
> -----------------------------------------------------------------------
>
>                 Key: SENTRY-516
>                 URL: https://issues.apache.org/jira/browse/SENTRY-516
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Lenni Kuff
>            Assignee: Lenni Kuff
>
> When a user does not have privileges on a URI, but does have all other privileges required to executed the operation, the error message message logged is a bit confusing:
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.AuthorizationException: User <user> does not have privileges for CREATEFUNCTION
> 	at org.apache.sentry.binding.hive.authz.HiveAuthzBinding.authorize(HiveAuthzBinding.java:317)
> {code}
> Since the user does have privileges to execute the other parts of the DDL statement, it would be nice to clarify the failing part was due not having privileges on the URI.



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