Skip to content

JAMES-4137 Upgrade S3 SDK to 2.30.x onwards #2739

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 11, 2025

Conversation

quantranhong1999
Copy link
Member

In S3 SDK version 2.30.0, AWS team introduced a breaking change in the integrity check in the driver:

  • Checksum is always required by default by AWS SDK >= 2.30.x
  • AWS SDK >= 2.30.x does not send MD5 checksum anymore (which 3rd party S3 storages rely on), but relies on CRC32 checksum.

cf: aws/aws-sdk-java-v2#5802

This breaks the compatibility with 3rd party object storage(s) that still rely on MD5 checksum. We failed to upgrade the SDK in the past: #2638.

It seems after receiving a lot of complaints from the community (Apache Hadoop, Apache Iceberg, Apache Spark...), AWS has agreed to have an option to maintain backward compatibility with S3-compatible storages. cf aws/aws-sdk-java-v2#6055.

Apache Iceberg is starting to adopt the backward compatibility option: apache/iceberg#12264.

Let's try to adopt this on our side, with care.

@quantranhong1999 quantranhong1999 self-assigned this Jun 10, 2025
@quantranhong1999
Copy link
Member Author

Tests with Scality and MinIO passed (failed without this backward option).

I would love to double check this against OVH S3.

Maybe we can put this PR on hold for a while, so the community can review and try against their S3 storage solution, if needed.

Copy link
Contributor

@Arsnael Arsnael left a comment

Choose a reason for hiding this comment

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

the backward compatibility wasn't added yet when i had a look at this before> Good catch!!!

@quantranhong1999
Copy link
Member Author

the backward compatibility wasn't added yet when i had a look at this before> Good catch!!!

Yes, it has been introduced recently.

@chibenwa chibenwa merged commit 788c4cb into apache:master Jun 11, 2025
1 check passed
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