[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-07-07 Thread Hao Hao (JIRA)

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

Hao Hao updated SENTRY-1311:

Component/s: (was: Sentry)
 URI

> 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: URI
>Affects Versions: 1.6.0
>Reporter: Vadim Spector
>Assignee: Vadim Spector
> Fix For: 1.8.0
>
> Attachments: SENTRY-1311.001.patch, SENTRY-1311.002.patch, 
> SENTRY-1311.003.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 ", 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  
> does not have privileges for CREATETABLE



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-23 Thread Hao Hao (JIRA)

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

Hao Hao updated SENTRY-1311:

Resolution: Fixed
Status: Resolved  (was: Patch Available)

> 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
>Affects Versions: 1.6.0
>Reporter: Vadim Spector
>Assignee: Vadim Spector
> Attachments: SENTRY-1311.001.patch, SENTRY-1311.002.patch, 
> SENTRY-1311.003.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 ", 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  
> does not have privileges for CREATETABLE



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-23 Thread Hao Hao (JIRA)

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

Hao Hao updated SENTRY-1311:

Affects Version/s: 1.6.0

> 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
>Affects Versions: 1.6.0
>Reporter: Vadim Spector
>Assignee: Vadim Spector
> Fix For: 1.8.0
>
> Attachments: SENTRY-1311.001.patch, SENTRY-1311.002.patch, 
> SENTRY-1311.003.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 ", 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  
> does not have privileges for CREATETABLE



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-23 Thread Hao Hao (JIRA)

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

Hao Hao updated SENTRY-1311:

Fix Version/s: 1.8.0

> 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
>Affects Versions: 1.6.0
>Reporter: Vadim Spector
>Assignee: Vadim Spector
> Fix For: 1.8.0
>
> Attachments: SENTRY-1311.001.patch, SENTRY-1311.002.patch, 
> SENTRY-1311.003.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 ", 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  
> does not have privileges for CREATETABLE



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-22 Thread Vadim Spector (JIRA)

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

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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-22 Thread Vadim Spector (JIRA)

 [ 
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 ", 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  
> does not have privileges for CREATETABLE



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-22 Thread Vadim Spector (JIRA)

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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-21 Thread Vadim Spector (JIRA)

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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-09 Thread Vadim Spector (JIRA)

 [ 
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.002.patch

added positive test case for GRANT URI w/ schema+authority followed CREATE 
TABLE URI with path only

> 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 ", 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  
> does not have privileges for CREATETABLE



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-03 Thread Vadim Spector (JIRA)

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

Vadim Spector updated SENTRY-1311:
--
Status: Patch Available  (was: Open)

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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-03 Thread Vadim Spector (JIRA)

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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-03 Thread Vadim Spector (JIRA)

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

Vadim Spector updated SENTRY-1311:
--
Status: Patch Available  (was: Open)

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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-03 Thread Vadim Spector (JIRA)

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

Vadim Spector updated SENTRY-1311:
--
Status: Open  (was: Patch Available)

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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-02 Thread Vadim Spector (JIRA)

 [ 
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' to 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  does 
not have privileges for CREATETABLE


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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-02 Thread Vadim Spector (JIRA)

 [ 
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' to 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  
does not have privileges for CREATETABLE


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



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-02 Thread Sravya Tirukkovalur (JIRA)

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

Sravya Tirukkovalur updated SENTRY-1311:

Assignee: Vadim Spector

> 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
>
> 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  
> does not have privileges for CREATETABLE



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


[jira] [Updated] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme

2016-06-02 Thread Vadim Spector (JIRA)

 [ 
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  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  
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  
> does not have privileges for CREATETABLE



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