[
https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15323643#comment-15323643
]
Hao Hao commented on SENTRY-1311:
---------------------------------
[~vspector] Thanks a lot for your contribution. Would you mind creating a CR
for this jira?
> 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
>
>
> 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)