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

   ### What changes were proposed in this pull request?
   
   Move `GravitinoGlueCredentialsProvider` from `catalog-common` to 
`bundles/aws`, which is not on the server classpath. The Glue catalog and Spark 
connectors now depend on `bundles/aws`. The package name is unchanged.
   
   ### Why are the changes needed?
   
   `catalog-common` is on the server classpath without the AWS SDK, so a Glue 
catalog with static credentials fails with `NoClassDefFoundError` when loading 
the provider.
   
   Fixes #14315
   
   ### Does this PR introduce _any_ user-facing change?
   
   No.
   
   ### How was this patch tested?
   
   - Reproduced the error by loading the provider through `IsolatedClassLoader` 
with the Glue catalog libs. Verified it passes after the change.
   - Unit tests for `bundles/aws`, `catalog-common`, `catalog-glue`, and the 
Spark 3.5/4.0 Glue tests.
   - Verified the Spark runtime jars contain the provider.
   - `testMavenLegalFiles`
   


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