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:12:01 UTC

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

Prasad Mujumdar created SENTRY-243:
--------------------------------------

             Summary: 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


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)