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

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

stoty opened a new pull request, #7628:
URL: https://github.com/apache/hadoop/pull/7628

   ### Description of PR
   
   Update to ApacheDS 2.0.0.AM27 and ldap-api 2.1.5
   
   ### How was this patch tested?
   
   Ran hadoop-auth test suite on my JDK24 branch
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id 
(e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the 
endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies 
licensed in a way that is compatible for inclusion under [ASF 
2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, 
`NOTICE-binary` files?
   
   




> 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
>            Priority: Major
>
> 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