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

[jira] [Commented] (SENTRY-898) [column level privilege] with column level privilege, show partitions fails, SemanticException No valid privileges

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

Hadoop QA commented on SENTRY-898:
----------------------------------

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

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

{color:red}ERROR:{color} mvn test exited 1
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.hive.TestMetadataObjectRetrieval
{color:red}ERROR:{color} Failed: org.apache.sentry.tests.e2e.dbprovider.TestDbMetadataObjectRetrieval

Console output: https://builds.apache.org/job/PreCommit-SENTRY-Build/1835/console

This message is automatically generated.

> [column level privilege] with column level privilege, show partitions fails, SemanticException No valid privileges
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: SENTRY-898
>                 URL: https://issues.apache.org/jira/browse/SENTRY-898
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 1.5.1
>            Reporter: Anne Yu
>            Assignee: Hao Hao
>         Attachments: SENTRY-898-001.patch
>
>
> If grant column level privilege to test user on a partition, show partitions fails to list the permitted partition with Error: Error while compiling statement: FAILED: SemanticException No valid privileges; 
> {code}
> CREATE TABLE pageviews (userid VARCHAR(64), link STRING, came_from STRING) PARTITIONED BY (datestamp STRING, counter INT) CLUSTERED BY (userid) INTO 256 BUCKETS STORED AS ORC;
> grant select(datestamp) on table pageviews to role test_par;
> grant role test_par to group test_user;
> show partitions pageviews;
> {code}
> cc [~guoquan], [~sravya], [~lskuff]



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