-
Notifications
You must be signed in to change notification settings - Fork 3
Add AWS SDK v2 dependencies for Iceberg S3 support #228
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
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Signed-off-by: Marvin Froeder <[email protected]>
… SDK v1 warnings Signed-off-by: Marvin Froeder <[email protected]>
Signed-off-by: Marvin Froeder <[email protected]>
Collaborator
Author
Signed-off-by: Marvin Froeder <[email protected]>
Signed-off-by: Marvin Froeder <[email protected]>
Collaborator
Author
|
I left it running for a good few minutes, seems stable |
Collaborator
Author
|
Feel free to merge @ferenc-csaky if you happy with the change |
ferenc-csaky
approved these changes
Oct 15, 2025
ferenc-csaky
pushed a commit
that referenced
this pull request
Oct 15, 2025
(cherry picked from commit 5ac167b)
ferenc-csaky
pushed a commit
that referenced
this pull request
Oct 15, 2025
ferenc-csaky
pushed a commit
that referenced
this pull request
Oct 15, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Summary
Adds AWS SDK v2 dependencies required for Iceberg S3FileIO to work properly. This fixes the
NoClassDefFoundError: software/amazon/awssdk/core/exception/SdkExceptionerror when using Iceberg catalog with S3.Problem
When creating an Iceberg catalog with S3 storage using
io-impl = org.apache.iceberg.aws.s3.S3FileIO, the application fails with:This is because Iceberg's S3FileIO requires AWS SDK v2, but only the runtime JAR was included without its dependencies.
Solution
Added specific AWS SDK v2 dependencies to parent and flink-sql-runner POMs:
software.amazon.awssdk:s3- S3 clientsoftware.amazon.awssdk:sts- Security Token Service (for credential management)software.amazon.awssdk:url-connection-client- HTTP client for AWS SDKTotal size: 7.2MB (instead of 482MB if using the full AWS SDK bundle)
The specific modules and their transitive dependencies are automatically copied by Maven dependency plugin and included in the Docker image.
Related
Test Plan
mvn clean install -Pfast🤖 Generated with Claude Code