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

   ## What changes were proposed in this pull request?
   
   Fix exception:
   
   ```
   ClassCastException: class org.apache.hadoop.crypto.CryptoOutputStream cannot 
be cast to class org.apache.hadoop.ozone.client.io.KeyMetadataAware ...
     at 
org.apache.hadoop.ozone.s3.endpoint.ObjectEndpoint.createMultipartKey(ObjectEndpoint.java:1003)
     at 
org.apache.hadoop.ozone.s3.endpoint.ObjectEndpoint.put(ObjectEndpoint.java:239)
   ```
   
   Steps to reproduce:
   
   0. Start cluster with Ratis streaming disabled (default setting)
   1. Create encrypted bucket in S3 volume
   2. Upload key via multipart upload to encrypted bucket
   
   https://issues.apache.org/jira/browse/HDDS-10784
   
   ## How was this patch tested?
   
   Added acceptance test coverage for S3 with Ratis streaming disabled in 
encrypted bucket in `ozonesecure` environment.  `ozonesecure-ha` covers the 
same with Ratis streaming enabled.
   
   CI:
   https://github.com/adoroszlai/ozone/actions/runs/8920571448


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