Skip to content

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

Open
echonesis wants to merge 1 commit into
apache:masterfrom
echonesis:HDDS-15932
Open

HDDS-15932. Remove usage of internal AWS S3 SDK API in S3KeyGenerator#10835
echonesis wants to merge 1 commit 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.

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.

2 participants