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

Vadim Spector updated SENTRY-1311:
----------------------------------
    Description: 
If URI has scheme when granting URI privileges, e.g. "grant all on uri 
'hdfs:///path/to/table'", 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 <username> does 
not have privileges for CREATETABLE


  was:
If URI has scheme and authority when granting URI privileges, e.g. "grant all 
on uri 'hdfs:///path/to/table'", 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 <username> 
does not have privileges for CREATETABLE



> 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
>
> If URI has scheme when granting URI privileges, e.g. "grant all on uri 
> 'hdfs:///path/to/table'", 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 <username> 
> does not have privileges for CREATETABLE



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

Reply via email to