You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sentry.apache.org by "Sravya Tirukkovalur (JIRA)" <ji...@apache.org> on 2014/06/03 20:53:03 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=14016989#comment-14016989 ]
Sravya Tirukkovalur commented on SENTRY-243:
--------------------------------------------
[~prasadm], left some comments on the RB.
> 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)