sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasad Mujumdar (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-243) The operation type needs to be set in the grant/revoke task context for the failure hook
Date Wed, 04 Jun 2014 05:23:02 GMT

     [ 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.4.patch

Rebased 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, SENTRY-243.2.patch, SENTRY-243.3.patch, SENTRY-243.4.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)

Mime
View raw message