You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "SentryQA (JIRA)" <ji...@apache.org> on 2014/06/20 20:15:26 UTC

[jira] [Commented] (SENTRY-309) Metastore binding should use fully qualified URI for validating alter table operations

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

SentryQA commented on SENTRY-309:
---------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12651692/SENTRY-309.1.patch against master.

{color:red}Overall:{color} -1 due to 9 errors

{color:red}ERROR:{color} mvn test exited 1
{color:red}ERROR:{color} Failed: org.apache.sentry.policy.db.TestSimpleDBPolicyEngineDFS
{color:red}ERROR:{color} Failed: org.apache.sentry.policy.db.TestSimpleDBPolicyEngineDFS
{color:red}ERROR:{color} Failed: org.apache.sentry.policy.db.TestSimpleDBPolicyEngineDFS
{color:red}ERROR:{color} Failed: org.apache.sentry.policy.db.TestSimpleDBPolicyEngineDFS
{color:red}ERROR:{color} Failed: org.apache.sentry.policy.db.TestSimpleDBPolicyEngineDFS
{color:red}ERROR:{color} Failed: org.apache.sentry.policy.db.TestSimpleDBPolicyEngineDFS
{color:red}ERROR:{color} Failed: org.apache.sentry.policy.db.TestSimpleDBPolicyEngineDFS
{color:red}ERROR:{color} Failed: org.apache.sentry.policy.db.TestSimpleDBPolicyEngineDFS

Console output: http://bigtop01.cloudera.org:8080/job/PreCommit-SENTRY-Build/177/console

This message is automatically generated.

> Metastore binding should use fully qualified URI for validating alter table operations
> --------------------------------------------------------------------------------------
>
>                 Key: SENTRY-309
>                 URL: https://issues.apache.org/jira/browse/SENTRY-309
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Prasad Mujumdar
>            Assignee: Prasad Mujumdar
>             Fix For: 1.4.0
>
>         Attachments: SENTRY-309.1.patch
>
>
> The metastore binding is using raw URI string passed by hook context in case of Alter Table operations. This could case problems for URI comparisons in order to determine whether this needs a uri privilege.
> We should convert that to fully qualified URI, just like create table or other Hive operation cases. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)