adoroszlai opened a new pull request, #8158:
URL: https://github.com/apache/ozone/pull/8158

   ## What changes were proposed in this pull request?
   
   Currently tests using MiniKMS are disabled due to failure in setup:
   
   ```
   java.lang.ClassNotFoundException: 
com.sun.jersey.spi.container.servlet.ServletContainer
     ...
     at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1386)
     at 
org.apache.hadoop.crypto.key.kms.server.KMSWebServer.start(KMSWebServer.java:149)
     at org.apache.hadoop.crypto.key.kms.server.MiniKMS.start(MiniKMS.java:153)
     at 
org.apache.hadoop.ozone.shell.TestOzoneShellHA.startKMS(TestOzoneShellHA.java:179)
     at 
org.apache.hadoop.ozone.shell.TestOzoneShellHA.init(TestOzoneShellHA.java:172)
   ```
   
   The problem is that MiniKMS and S3 Gateway use conflicting versions of 
Jersey.
   
   With S3 integration tests moved to a separate module (HDDS-12528), we can 
now exclude S3 Gateway's dependencies in `integration-test`.  This allows 
MiniKMS to use older version of Jersey, and thus to enable tests that use 
MiniKMS.
   
   Also remove a leftover `<version>` in `integration-test/pom.xml`.
   
   https://issues.apache.org/jira/browse/HDDS-11879
   
   ## How was this patch tested?
   
   ```
   Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 62.10 s -- 
in org.apache.hadoop.ozone.shell.TestOzoneShellHA
   Tests run: 31, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.33 s -- 
in org.apache.hadoop.ozone.shell.TestOzoneShellHAWithFSO
   Tests run: 35, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 58.41 s -- 
in org.apache.hadoop.ozone.client.rpc.TestOzoneAtRestEncryption
   Tests run: 25, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 40.31 s -- 
in org.apache.hadoop.ozone.s3.awssdk.v1.TestS3SDKV1
   ```
   
   https://github.com/adoroszlai/ozone/actions/runs/14063924558
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to