NihalJain commented on PR #5680: URL: https://github.com/apache/hbase/pull/5680#issuecomment-2896697768
The failure [precommit checks / yetus jdk8 Hadoop2 checks / org.apache.hadoop.hbase.http.log.TestLogLevel.(?)](https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5680/3/testReport/org.apache.hadoop.hbase.http.log/TestLogLevel/precommit_checks___yetus_jdk8_Hadoop2_checks______/) is related: ``` java.lang.NoClassDefFoundError: org/apache/directory/api/ldap/schemaextractor/SchemaLdifExtractor at org.apache.hadoop.hbase.http.log.TestLogLevel.setupMiniKdc(TestLogLevel.java:116) at org.apache.hadoop.hbase.http.log.TestLogLevel.setUp(TestLogLevel.java:107) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56) at org.junit.internal.runners.statements.RunBefores.invokeMethod(RunBefores.java:33) at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:24) at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:299) at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:293) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.lang.Thread.run(Thread.java:750) Caused by: java.lang.ClassNotFoundException: org.apache.directory.api.ldap.schemaextractor.SchemaLdifExtractor at java.net.URLClassLoader.findClass(URLClassLoader.java:387) 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) ... 16 more ``` We see this as we have overridden the apacheds version in pom for all hadoop versions but for hadoop 2 it fails to start KDC as the above package does not even exist in apacheds 2.0.0.AM26 while hadoop 2 requires 2.0.0-M15. Moving to 2.0.0-M15 causes test class to fail as annotations like `CreateLdapServer` etc are not supported with that version. So as a fix I propose to skip running LDAP tests fro hadoop2 and also moving all dependency changes to be only for hadoop3. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
