You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Prasad Mujumdar (JIRA)" <ji...@apache.org> on 2014/06/03 19:18:04 UTC

[jira] [Updated] (SENTRY-243) The operation type needs to be set in the grant/revoke task context for the failure hook

     [ https://issues.apache.org/jira/browse/SENTRY-243?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Prasad Mujumdar updated SENTRY-243:
-----------------------------------

    Attachment: SENTRY-243.1.patch

> The operation type needs to be set in the grant/revoke task context for the failure hook
> ----------------------------------------------------------------------------------------
>
>                 Key: SENTRY-243
>                 URL: https://issues.apache.org/jira/browse/SENTRY-243
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.4.0
>            Reporter: Prasad Mujumdar
>            Assignee: Prasad Mujumdar
>            Priority: Blocker
>         Attachments: SENTRY-243.1.patch
>
>
> The statement operation type passed to onFailure hook is extracted from the operation type stored in Hive's per-session thread. That is not a reliable place to look up the operation during the process execution. We need to store the operation type in the grant revoke task during the compilation.
> Also the failure hook should be fired for AccessDenied exception rather than all exceptions.



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