Istvan Toth created HADOOP-19545: ------------------------------------ Summary: Update to ApacheDS 2.0.0.AM27 and ldap-api 2.1.5 Key: HADOOP-19545 URL: https://issues.apache.org/jira/browse/HADOOP-19545 Project: Hadoop Common Issue Type: Improvement Components: auth, common Reporter: Istvan Toth Assignee: Istvan Toth
ApacheDS 2.0.0AM26 (or at least its test integration) is incompatible with JDK21+. Update to 2.0.0.AM27 and the corresponding ldap-api version. This also requires migrating some dependent tests from Junit 4 to Junit 5. {noformat} [ERROR] org.apache.hadoop.security.authentication.server.TestMultiSchemeAuthenticationHandler -- Time elapsed: 1.426 s <<< ERROR! java.lang.NoSuchMethodError: 'void sun.security.x509.X509CertInfo.set(java.lang.String, java.lang.Object)' at org.apache.directory.server.core.security.CertificateUtil.setInfo(CertificateUtil.java:96) at org.apache.directory.server.core.security.CertificateUtil.generateSelfSignedCertificate(CertificateUtil.java:194) at org.apache.directory.server.core.security.CertificateUtil.createTempKeyStore(CertificateUtil.java:337) at org.apache.directory.server.factory.ServerAnnotationProcessor.instantiateLdapServer(ServerAnnotationProcessor.java:158) at org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:318) at org.apache.directory.server.factory.ServerAnnotationProcessor.createLdapServer(ServerAnnotationProcessor.java:351) at org.apache.directory.server.core.integ.FrameworkRunner.run(FrameworkRunner.java:139) {noformat} -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: common-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-dev-h...@hadoop.apache.org