[jira] [Commented] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme
[ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15344899#comment-15344899 ] Hadoop QA commented on SENTRY-1311: --- Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12812545/SENTRY-1311.004.patch against master. {color:red}Overall:{color} -1 due to an error {color:red}ERROR:{color} mvn test exited 1 Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/1758/console This message is automatically generated. > 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] [Commented] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme
[ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15344760#comment-15344760 ] Vadim Spector commented on SENTRY-1311: --- Updated code review board with the latest patch: https://reviews.apache.org/r/48576/diff/2-3/ > 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] [Commented] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme
[ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15342912#comment-15342912 ] Vadim Spector commented on SENTRY-1311: --- Updated code review board with the latest patch: https://reviews.apache.org/r/48576/diff/2/ > 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] [Commented] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme
[ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15342793#comment-15342793 ] Hadoop QA commented on SENTRY-1311: --- Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12812283/SENTRY-1311.003.patch against master. {color:green}Overall:{color} +1 all checks pass {color:green}SUCCESS:{color} all tests passed Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/1747/console This message is automatically generated. > 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] [Commented] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme
[ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15342600#comment-15342600 ] Vadim Spector commented on SENTRY-1311: --- Patch #3 implements consistent logic for PathUtils.impliesURI(URI,URI) and PathUtils.impliesURI(String,String). Both set missing scheme and/or authority to the default values according to the default file system. Added corresponding test cases. > 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] [Commented] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme
[ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15325658#comment-15325658 ] Vadim Spector commented on SENTRY-1311: --- done > 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] [Commented] (SENTRY-1311) Improve usability of URI privileges by supporting mixed use of URIs with and without scheme
[ https://issues.apache.org/jira/browse/SENTRY-1311?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15323512#comment-15323512 ] Hadoop QA commented on SENTRY-1311: --- Here are the results of testing the latest attachment https://issues.apache.org/jira/secure/attachment/12809282/SENTRY-1311.002.patch against master. {color:green}Overall:{color} +1 all checks pass {color:green}SUCCESS:{color} all tests passed Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/1685/console This message is automatically generated. > 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)