[ 
https://issues.apache.org/jira/browse/HADOOP-19545?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17948317#comment-17948317
 ] 

ASF GitHub Bot commented on HADOOP-19545:
-----------------------------------------

slfan1989 commented on PR #7628:
URL: https://github.com/apache/hadoop/pull/7628#issuecomment-2840494220

   @stoty Thanks for the contribution! @pan3793 Thanks for the review!




> Update to ApacheDS 2.0.0.AM27 and ldap-api 2.1.7
> ------------------------------------------------
>
>                 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
>            Priority: Major
>              Labels: pull-request-available
>
> 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-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to