diqiu50 opened a new pull request, #11616:
URL: https://github.com/apache/gravitino/pull/11616

   ### What changes were proposed in this pull request?
   
   Add `bundles:aws`, `bundles:aliyun`, and `bundles:azure` as dependencies of 
`iceberg-aws-bundle`, `iceberg-aliyun-bundle`, and `iceberg-azure-bundle` 
respectively, so that `S3SecretKeyProvider`, `OSSSecretKeyProvider`, and 
`AzureAccountKeyProvider` are included via SPI and discoverable by 
`ServiceLoader` in the catalog `IsolatedClassLoader`.
   
   ### Why are the changes needed?
   
   Fix #11604
   
   When users place `gravitino-iceberg-aws-bundle` in 
`catalogs/lakehouse-iceberg/libs/` as documented, credential vending fails with 
`No credential provider found for: s3-secret-key` because the provider SPI was 
missing from the bundle.
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Users who place the Iceberg cloud bundle in 
`catalogs/lakehouse-iceberg/libs/` as documented will now get credential 
vending working automatically.
   
   ### How was this patch tested?
   
   Manually created an Iceberg catalog with S3 static credentials and called 
the credentials API to confirm the fix.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to