You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gravitino.apache.org by "zhang-arvin (via GitHub)" <gi...@apache.org> on 2026/08/31 08:18:54 UTC

[PR] fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support [gravitino]

zhang-arvin opened a new pull request, #12741:
URL: https://github.com/apache/gravitino/pull/12741

   ### 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support [gravitino]

Posted by "zhang-arvin (via GitHub) via commits" <co...@gravitino.apache.org>.
zhang-arvin commented on PR #12741:
URL: https://github.com/apache/gravitino/pull/12741#issuecomment-7195413872

   Closing: #12682 was resolved by #12683 (merged 2026-09-10), which documents the optional Hadoop S3A setup for the Paimon catalog instead of bundling hadoop-aws. Superseded.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support [gravitino]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #12741:
URL: https://github.com/apache/gravitino/pull/12741#issuecomment-5477239179

   <!-- coverage-report -->
   ### Code Coverage Report
   |Overall Project|68.53% **`-0.02%`**|:green_circle:|
   |:-|:-|:-:|
   |Files changed|55.86%|:red_circle:|
   <br>
   
   |Module|Coverage||
   |:-|:-|:-:|
   |aliyun|19.74%|:red_circle:|
   |api|52.09%|:green_circle:|
   |authorization-common|85.96%|:green_circle:|
   |authorization-ranger|4.38%|:red_circle:|
   |aws|53.54%|:green_circle:|
   |azure|32.1%|:red_circle:|
   |catalog-common|9.9% **`-0.47%`**|:red_circle:|
   |catalog-fileset|80.3%|:green_circle:|
   |catalog-glue|69.24%|:green_circle:|
   |catalog-hive|82.96%|:green_circle:|
   |catalog-jdbc-common|45.69%|:green_circle:|
   |catalog-jdbc-doris|82.44%|:green_circle:|
   |catalog-jdbc-mysql|79.33%|:green_circle:|
   |catalog-jdbc-postgresql|83.39%|:green_circle:|
   |catalog-jdbc-starrocks|79.16%|:green_circle:|
   |catalog-kafka|76.99%|:green_circle:|
   |catalog-lakehouse-generic|60.55%|:green_circle:|
   |catalog-lakehouse-hudi|79.1%|:green_circle:|
   |catalog-lakehouse-iceberg|85.93%|:green_circle:|
   |catalog-lakehouse-paimon|84.26%|:green_circle:|
   |catalog-model|77.99%|:green_circle:|
   |cli|44.48%|:green_circle:|
   |client-java|77.44%|:green_circle:|
   |common|55.5%|:green_circle:|
   |core|83.59% **`-0.04%`**|:green_circle:|
   |filesystem-hadoop3|76.45%|:green_circle:|
   |flink|0.0%|:red_circle:|
   |flink-common|50.29%|:green_circle:|
   |flink-runtime|0.0%|:red_circle:|
   |gcp|32.2%|:red_circle:|
   |hadoop-auth|68.0%|:green_circle:|
   |hadoop-common|17.84%|:red_circle:|
   |hive-metastore-common|53.4%|:green_circle:|
   |iceberg-aliyun-bundle|0.0%|:red_circle:|
   |iceberg-common|64.75%|:green_circle:|
   |iceberg-rest-server|75.89%|:green_circle:|
   |idp-basic|85.98%|:green_circle:|
   |integration-test-common|0.0%|:red_circle:|
   |jobs|62.92%|:green_circle:|
   |lance-common|32.63%|:red_circle:|
   |lance-rest-server|65.46%|:green_circle:|
   |lineage|53.02%|:green_circle:|
   |optimizer|83.24%|:green_circle:|
   |optimizer-api|21.95%|:red_circle:|
   |server|88.11%|:green_circle:|
   |server-common|80.5%|:green_circle:|
   |spark|28.57%|:red_circle:|
   |spark-common|48.92%|:green_circle:|
   |tencent|69.84% **`-19.05%`**|:green_circle:|
   |trino-connector|47.44%|:green_circle:|
   
   <details>
   <summary>Files</summary>
   
   |Module|File|Coverage||
   |:-|:-|:-|:-:|
   |catalog-common|[CredentialConstants.java](https://github.com/zhang-arvin/gravitino/blob/4402880bcfa15c1d93dfbbc28a6c21ca21ff2232/catalogs/catalog-common/src/main/java/org/apache/gravitino/credential/CredentialConstants.java)|0.0%|:red_circle:|
   ||[COSCredentialConfig.java](https://github.com/zhang-arvin/gravitino/blob/4402880bcfa15c1d93dfbbc28a6c21ca21ff2232/catalogs/catalog-common/src/main/java/org/apache/gravitino/credential/config/COSCredentialConfig.java)|0.0%|:red_circle:|
   ||[COSProperties.java](https://github.com/zhang-arvin/gravitino/blob/4402880bcfa15c1d93dfbbc28a6c21ca21ff2232/catalogs/catalog-common/src/main/java/org/apache/gravitino/storage/COSProperties.java)|0.0%|:red_circle:|
   |core|[AsyncQueueListener.java](https://github.com/zhang-arvin/gravitino/blob/4402880bcfa15c1d93dfbbc28a6c21ca21ff2232/core/src/main/java/org/apache/gravitino/listener/AsyncQueueListener.java)|66.18%|:green_circle:|
   |tencent|[COSUtils.java](https://github.com/zhang-arvin/gravitino/blob/4402880bcfa15c1d93dfbbc28a6c21ca21ff2232/bundles/tencent/src/main/java/org/apache/gravitino/cos/fs/COSUtils.java)|100.0%|:green_circle:|
   ||[COSCredentialsProvider.java](https://github.com/zhang-arvin/gravitino/blob/4402880bcfa15c1d93dfbbc28a6c21ca21ff2232/bundles/tencent/src/main/java/org/apache/gravitino/cos/fs/COSCredentialsProvider.java)|80.77%|:green_circle:|
   ||[COSFileSystemProvider.java](https://github.com/zhang-arvin/gravitino/blob/4402880bcfa15c1d93dfbbc28a6c21ca21ff2232/bundles/tencent/src/main/java/org/apache/gravitino/cos/fs/COSFileSystemProvider.java)|45.83%|:red_circle:|
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support [gravitino]

Posted by "zhang-arvin (via GitHub)" <gi...@apache.org>.
zhang-arvin commented on PR #12741:
URL: https://github.com/apache/gravitino/pull/12741#issuecomment-6051699089

   The failing check is `access-control-IT (linux/amd64, 17)`, and the actual failure is `RangerHiveHdfsE2EIT.testDeleteAndRecreateRole` with `AccessControlException: Permission denied user=test, access=WRITE, inode="/user/hive/warehouse"`. That test lives in `:authorizations:authorization-ranger`, which this PR does not touch (it only adds `hadoop-aws` to `catalogs/catalog-lakehouse-paimon/build.gradle.kts`). It looks like an unrelated environment/flake failure rather than a regression from this change.
   
   Could a maintainer re-run the workflow? The fork cannot trigger the upstream CI on its own, so I cannot re-trigger it from here. Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support [gravitino]

Posted by "zhang-arvin (via GitHub) via commits" <co...@gravitino.apache.org>.
zhang-arvin closed pull request #12741: fix(#12682): Add hadoop-aws dependency to Paimon catalog for S3 warehouse support
URL: https://github.com/apache/gravitino/pull/12741


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gravitino.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org