You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "kalyan kumar kalvagadda (JIRA)" <ji...@apache.org> on 2018/09/04 16:20:00 UTC

[jira] [Commented] (SENTRY-2318) Sentry listener should log the failure if grant/revoke of owner privilege fails

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

kalyan kumar kalvagadda commented on SENTRY-2318:
-------------------------------------------------

With the current design of HMS, throwing exception from a post event listener would fail the HMS operation even if the actual operation was successful. That is not correct.

 

Currently user should look at sentry audit logs to see these failures.

> Sentry listener should log the failure if grant/revoke of owner privilege fails
> -------------------------------------------------------------------------------
>
>                 Key: SENTRY-2318
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2318
>             Project: Sentry
>          Issue Type: Sub-task
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: kalyan kumar kalvagadda
>            Assignee: kalyan kumar kalvagadda
>            Priority: Major
>         Attachments: SENTRY-2318.001.patch, SENTRY-2318.002.patch
>
>
> If the grant/revoke of owner privilege fails for any reason it should logged be as an error in the hive logs otherwise this will go un-noticed.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)