Skip to content

HDDS-15932. Remove usage of internal AWS S3 SDK API in S3KeyGenerator#10835

Merged
adoroszlai merged 2 commits into
apache:masterfrom
echonesis:HDDS-15932
Jul 25, 2026
Merged

HDDS-15932. Remove usage of internal AWS S3 SDK API in S3KeyGenerator#10835
adoroszlai merged 2 commits into
apache:masterfrom
echonesis:HDDS-15932

Conversation

@echonesis

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR removes the compile-time dependency on the internal AWS S3 SDK class SkipMd5CheckStrategy from S3KeyGenerator.

Instead of importing the internal constant DISABLE_PUT_OBJECT_MD5_VALIDATION_PROPERTY, the generator now sets the equivalent system property directly: com.amazonaws.services.s3.disablePutObjectMD5Validation

This preserves the existing behavior while avoiding the use of an API from the AWS SDK's internal package.

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-15932

How was this patch tested?

GitHub Actions CI: https://github.com/echonesis/ozone/actions/runs/29884841702

@echonesis
echonesis marked this pull request as ready for review July 22, 2026 05:01

@chihsuan chihsuan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the patch. LGTM.

@adoroszlai
adoroszlai merged commit 9c6d389 into apache:master Jul 25, 2026
45 checks passed
@adoroszlai

Copy link
Copy Markdown
Contributor

Thanks @echonesis for the patch.

@echonesis

Copy link
Copy Markdown
Contributor Author

Thanks @adoroszlai for the review and merge, @chihsuan for the review.

@echonesis
echonesis deleted the HDDS-15932 branch July 27, 2026 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants