[
https://issues.apache.org/jira/browse/SENTRY-1790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Na Li resolved SENTRY-1790.
---------------------------
Resolution: Cannot Reproduce
Fix Version/s: sentry-ha-redesign
> 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
> Fix For: sentry-ha-redesign
>
>
> 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)