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)

Reply via email to