[ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Spector updated SENTRY-1311: ---------------------------------- Attachment: SENTRY-1311.004.patch > 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, 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)