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

Vadim Spector commented on SENTRY-1311:
---------------------------------------

Updated code review board with the latest patch: 
https://reviews.apache.org/r/48576/diff/2-3/

> Improve usability of URI privileges by supporting mixed use of URIs with and 
> without scheme
> -------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-1311
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1311
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>            Reporter: Vadim Spector
>            Assignee: Vadim Spector
>         Attachments: SENTRY-1311.001.patch, SENTRY-1311.002.patch, 
> SENTRY-1311.003.patch, SENTRY-1311.004.patch
>
>
> If URI has scheme when granting URI privileges, e.g. "grant all on uri 
> 'hdfs:///path/to/table' to role <user-role>", subsequent table creation using 
> URI without scheme "create external table tab1 (s string) location 
> '/path/to/table'" fails with 
> org.apache.hadoop.hive.ql.metadata.AuthorizationException: User <user-name> 
> does not have privileges for CREATETABLE



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

Reply via email to