[
https://issues.apache.org/jira/browse/IMPALA-10644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17333266#comment-17333266
]
ASF subversion and git services commented on IMPALA-10644:
----------------------------------------------------------
Commit 32f0aa6dd2436966b503f30835ee694f45f69954 in impala's branch
refs/heads/dependabot/pip/infra/python/deps/py-1.10.0 from Vihang Karajgaonkar
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=32f0aa6 ]
IMPALA-10644: RangerAuthorizationFactory cannot be instantiated
Earlier when the GBN was bumped up to 11920537 in commit
1ab1143 some of the solr dependencies were excluded. This causes
RangerAuthorizationFactory to initialization errors.
This patch reverts the dependency exclusion to fix the problem.
Testing:
- Passes core job
Change-Id: I1b6953b84fd28bb75f97516a3b7f40cd0a12af41
Reviewed-on: http://gerrit.cloudera.org:8080/17282
Tested-by: Impala Public Jenkins <[email protected]>
Reviewed-by: Joe McDonnell <[email protected]>
> RangerAuthorizationFactory cannot be instantiated after latest GBN bump up
> --------------------------------------------------------------------------
>
> Key: IMPALA-10644
> URL: https://issues.apache.org/jira/browse/IMPALA-10644
> Project: IMPALA
> Issue Type: Bug
> Reporter: Vihang Karajgaonkar
> Assignee: Vihang Karajgaonkar
> Priority: Blocker
> Fix For: Impala 4.0
>
>
> After the GBN was bumped to 11920537 in the commit
> https://github.com/apache/impala/commit/1ab1143e98ff09610dff82d1795cf103659ffe97
> some of the ranger tests are failing with the following exception trace.
> {noformat}
> I0407 17:40:18.681761 25041 jni-util.cc:286]
> org.apache.impala.common.InternalException: Unable to instantiate
> authorization provider:
> org.apache.impala.authorization.ranger.RangerAuthorizationFactory
> at
> org.apache.impala.util.AuthorizationUtil.authzFactoryFrom(AuthorizationUtil.java:88)
> at org.apache.impala.service.JniFrontend.<init>(JniFrontend.java:143)
> Caused by: java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
> at
> org.apache.impala.util.AuthorizationUtil.authzFactoryFrom(AuthorizationUtil.java:86)
> ... 1 more
> Caused by: java.lang.NoClassDefFoundError:
> org/apache/solr/common/SolrException
> at
> org.apache.ranger.audit.provider.AuditProviderFactory.getProviderFromConfig(AuditProviderFactory.java:420)
> at
> org.apache.ranger.audit.provider.AuditProviderFactory.init(AuditProviderFactory.java:178)
> at
> org.apache.ranger.plugin.service.RangerBasePlugin.init(RangerBasePlugin.java:175)
> at
> org.apache.impala.authorization.ranger.RangerImpalaPlugin.init(RangerImpalaPlugin.java:50)
> at
> org.apache.impala.authorization.ranger.RangerImpalaPlugin.getInstance(RangerImpalaPlugin.java:69)
> at
> org.apache.impala.authorization.ranger.RangerAuthorizationChecker.<init>(RangerAuthorizationChecker.java:82)
> at
> org.apache.impala.authorization.ranger.RangerAuthorizationFactory.<init>(RangerAuthorizationFactory.java:44)
> ... 6 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.solr.common.SolrException
> at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:418)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:352)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:351)
> ... 13 more
> {noformat}
> It looks like after the GBN was upgraded we need to have solr dependencies in
> the fe/pom.xml and they should not be reverted. The toolchain should also be
> updated to include exclude solr and atlas libraries for the GBN.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]