fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support - #12741
Open
zhang-arvin wants to merge 1 commit into
Open
fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support#12741zhang-arvin wants to merge 1 commit into
zhang-arvin wants to merge 1 commit into
Conversation
… warehouse support Paimon catalog fails to access s3a:// warehouse because hadoop-aws containing org.apache.hadoop.fs.s3a.S3AFileSystem is missing from the runtime classpath. This adds hadoop-aws (3.3.6) as an implementation dependency to catalog-lakehouse-paimon. Closes apache#12682
Code Coverage Report
Files
|
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
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.
What changes were proposed in this pull request?
Add
hadoop-aws(3.3.6) as an implementation dependency tocatalog-lakehouse-paimon.Why are the changes needed?
Fix: #12682
Paimon catalog fails to access
s3a://warehouse because theorg.apache.hadoop.fs.s3a.S3AFileSystemclass is unavailable at runtime. When Paimon falls back toHadoopFileIOfor S3A schemes, it requireshadoop-awson the classpath.Does this PR introduce any user-facing change?
No. Users who use S3A warehouses with Paimon catalog will now be able to access them without manually adding the hadoop-aws jar.
How was this patch tested?
Verified that
org.apache.hadoop.fs.s3a.S3AFileSystemclass is present in the hadoop-aws-3.3.6.jar artifact.