[ 
https://issues.apache.org/jira/browse/SENTRY-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16033217#comment-16033217
 ] 

Na Li commented on SENTRY-1790:
-------------------------------

I cannot reproduce the exception in sentry-ha-redesign branch. close this issue 
for now.

> NoClassDefFoundError: 
> org/apache/sentry/binding/hive/SentryOnFailureHookContextImpl
> -----------------------------------------------------------------------------------
>
>                 Key: SENTRY-1790
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1790
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: sentry-ha-redesign
>            Reporter: Na Li
>            Assignee: Na Li
>
> Creating SentryOnFailureHookContextImpl may fail in 
> HiveAuthzBindingHookBase.executeOnFailureHooks and have 
> java.lang.NoClassDefFoundError.
> When exception is thrown, hive is calling Sentry plugin to handle the 
> failure. Loading sentry class SentryOnFailureHookContextImpl  may fail. 
> It is safer to load the class in normal context, so creating its instance 
> won't fail after exception is thrown.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to