Skip to content

fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support - #12741

Open
zhang-arvin wants to merge 1 commit into
apache:mainfrom
zhang-arvin:fix/paimon-s3a-hadoop-aws-12682
Open

fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support#12741
zhang-arvin wants to merge 1 commit into
apache:mainfrom
zhang-arvin:fix/paimon-s3a-hadoop-aws-12682

Conversation

@zhang-arvin

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Add hadoop-aws (3.3.6) as an implementation dependency to catalog-lakehouse-paimon.

Why are the changes needed?

Fix: #12682

Paimon catalog fails to access s3a:// warehouse because the org.apache.hadoop.fs.s3a.S3AFileSystem class is unavailable at runtime. When Paimon falls back to HadoopFileIO for S3A schemes, it requires hadoop-aws on 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.S3AFileSystem class is present in the hadoop-aws-3.3.6.jar artifact.

… 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
@github-actions

Copy link
Copy Markdown

Code Coverage Report

Overall Project 68.53% -0.02% 🟢
Files changed 55.86% 🔴

Module Coverage
aliyun 19.74% 🔴
api 52.09% 🟢
authorization-common 85.96% 🟢
authorization-ranger 4.38% 🔴
aws 53.54% 🟢
azure 32.1% 🔴
catalog-common 9.9% -0.47% 🔴
catalog-fileset 80.3% 🟢
catalog-glue 69.24% 🟢
catalog-hive 82.96% 🟢
catalog-jdbc-common 45.69% 🟢
catalog-jdbc-doris 82.44% 🟢
catalog-jdbc-mysql 79.33% 🟢
catalog-jdbc-postgresql 83.39% 🟢
catalog-jdbc-starrocks 79.16% 🟢
catalog-kafka 76.99% 🟢
catalog-lakehouse-generic 60.55% 🟢
catalog-lakehouse-hudi 79.1% 🟢
catalog-lakehouse-iceberg 85.93% 🟢
catalog-lakehouse-paimon 84.26% 🟢
catalog-model 77.99% 🟢
cli 44.48% 🟢
client-java 77.44% 🟢
common 55.5% 🟢
core 83.59% -0.04% 🟢
filesystem-hadoop3 76.45% 🟢
flink 0.0% 🔴
flink-common 50.29% 🟢
flink-runtime 0.0% 🔴
gcp 32.2% 🔴
hadoop-auth 68.0% 🟢
hadoop-common 17.84% 🔴
hive-metastore-common 53.4% 🟢
iceberg-aliyun-bundle 0.0% 🔴
iceberg-common 64.75% 🟢
iceberg-rest-server 75.89% 🟢
idp-basic 85.98% 🟢
integration-test-common 0.0% 🔴
jobs 62.92% 🟢
lance-common 32.63% 🔴
lance-rest-server 65.46% 🟢
lineage 53.02% 🟢
optimizer 83.24% 🟢
optimizer-api 21.95% 🔴
server 88.11% 🟢
server-common 80.5% 🟢
spark 28.57% 🔴
spark-common 48.92% 🟢
tencent 69.84% -19.05% 🟢
trino-connector 47.44% 🟢
Files
Module File Coverage
catalog-common CredentialConstants.java 0.0% 🔴
COSCredentialConfig.java 0.0% 🔴
COSProperties.java 0.0% 🔴
core AsyncQueueListener.java 66.18% 🟢
tencent COSUtils.java 100.0% 🟢
COSCredentialsProvider.java 80.77% 🟢
COSFileSystemProvider.java 45.83% 🔴

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.

[Bug report] Paimon catalog fails to access s3a warehouse because hadoop-aws is missing

1 participant