Na Li created SENTRY-1790:
-----------------------------

             Summary: 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