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

Hao Hao commented on SENTRY-1390:
---------------------------------

[~sravya] If you check the change of this patch, it is only changes from 
{noformat} if (uriPath.isAbsoluteAndSchemeAuthorityNull()) {{noformat} to 
{noformat} if (uriPath.toUri().getScheme() == null || 
uriPath.toUri().getAuthority() == null){{noformat} . That means it just allows 
URI without authority will become fully qualified path by using authority from 
warehouseDir. No other logic else is changed.

> Enabling usability of URI privileges for HMS binding
> ----------------------------------------------------
>
>                 Key: SENTRY-1390
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1390
>             Project: Sentry
>          Issue Type: Task
>          Components: URI
>    Affects Versions: 1.8.0
>            Reporter: Hao Hao
>            Assignee: Hao Hao
>         Attachments: SENTRY-1390.0.patch, SENTRY-1390.1.patch
>
>
> Enabling usability of URI privileges for HMS write protection, such that URI 
> with no scheme or authority can be handled. e.g 
>   * GRANT ALL ON URI 'hdfs://namenode:XXX/path/to/table'
>   * CREATE EXTERNAL TABLE foo LOCATION '/path/to/table'



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

Reply via email to