Valerde opened a new issue, #12642:
URL: https://github.com/apache/gravitino/issues/12642

   ### Version
   
   main branch
   
   ### Describe what's wrong
   
   
   When an Iceberg catalog uses a JDBC backend and stores table data in object
   storage (e.g. S3), both `jdbc-user-password` and `s3-secret-key` credential
   providers are configured.
   
   Loading a table via an Iceberg REST client (Spark, etc.) fails
   with the following error:
   
   ```
   UnsupportedOperationException: Multiple credential providers found for path 
s3://bucket/warehouse/table with scheme s3: [s3-secret-key, jdbc-user-password]
   ```
   
   ### Error message and/or stacktrace
   
   UnsupportedOperationException: Multiple credential providers found for path 
s3://bucket/warehouse/table with scheme s3: [s3-secret-key, jdbc-user-password]
   
   ### How to reproduce
   
   1. Create an Iceberg catalog with:
   
      ```properties
      catalog-backend=jdbc
      credential-providers=s3-secret-key,jdbc-user-password
      warehouse=s3://bucket/warehouse
      ```
   
   2. Load a table whose data lives in S3 via an Iceberg REST client.
   3. The request fails with the error above.
   
   ### Additional context
   
   _No response_


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