You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Hao Hao (JIRA)" <ji...@apache.org> on 2016/07/13 20:58:20 UTC

[jira] [Comment Edited] (SENTRY-1390) Enabling usability of URI privileges for HMS binding

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

Hao Hao edited comment on SENTRY-1390 at 7/13/16 8:58 PM:
----------------------------------------------------------

[~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 is changed.


was (Author: hahao):
[~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)