sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SENTRY-577) Orphan cleaner should remove privilege is not ALL, SELECT or INSERT
Date Thu, 12 Mar 2015 04:00:42 GMT

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

Hadoop QA commented on SENTRY-577:
----------------------------------

Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12704079/SENTRY-577.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/491/console

This message is automatically generated.

> Orphan cleaner should remove privilege is not ALL, SELECT or INSERT
> -------------------------------------------------------------------
>
>                 Key: SENTRY-577
>                 URL: https://issues.apache.org/jira/browse/SENTRY-577
>             Project: Sentry
>          Issue Type: Bug
>            Reporter: Xiaomeng Huang
>            Assignee: Xiaomeng Huang
>         Attachments: SENTRY-577.001.patch, SENTRY-577.002.patch
>
>
> I notice recently there is a orphan privilege cleanup thread to remove privilege from
role. So it is a bug when we remove privilege that is not in {ALL,SELECT,INSERT}
> {code}
>        // if this privilege is not ALL, SELECT nor INSERT,
>        // we will revoke it from role directly
>        mPrivilege.removeRole(mRole);
> +      privCleaner.incPrivRemoval();
>        pm.makePersistent(mPrivilege);
>      }
>    }
> {code}
> This is a follow up bug of SENTRY-549



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

Mime
View raw message