[
https://issues.apache.org/jira/browse/SENTRY-669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14361456#comment-14361456
]
Hadoop QA commented on SENTRY-669:
----------------------------------
Here are the results of testing the latest attachment
https://issues.apache.org/jira/secure/attachment/12704550/SENTRY-669.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/495/console
This message is automatically generated.
> Drop database Hive statement removes the DB privileges even if the operation
> fails
> ----------------------------------------------------------------------------------
>
> Key: SENTRY-669
> URL: https://issues.apache.org/jira/browse/SENTRY-669
> Project: Sentry
> Issue Type: Bug
> Affects Versions: 1.4.0
> Reporter: Prasad Mujumdar
> Assignee: Ryan P
> Labels: newbie
> Fix For: 1.5.0
>
> Attachments: SENTRY-669.patch
>
>
> Sentry Hive binding clears the privileges when a DB object is dropped. This
> is triggered from the metastore post listener.
> The Sentry metastore listener verifies the operation status before executing
> the cleanup. However in case of drop database, it's incorrectly attempted
> twice and one of it happens before checking the operation status.
> We need to remove the
> SentryMetastorePostEventListener:dropSentryDbPrivileges() call which is
> executes before checking status.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)