diqiu50 opened a new pull request, #13013:
URL: https://github.com/apache/gravitino/pull/13013
### What changes were proposed in this pull request?
- Validate AWS credentials at catalog creation/update time instead of on
first use.
- When credentials fail at runtime, name the connector's own properties
instead of
surfacing the raw AWS SDK error.
### Why are the changes needed?
A Glue catalog created without usable AWS credentials was stored
successfully and
then failed on every operation with a raw AWS SDK error that never mentioned
the
connector's own properties.
Fix: #13012
### Does this PR introduce _any_ user-facing change?
Yes: creating/updating a Glue catalog with no usable AWS credential source
now
fails immediately instead of succeeding and failing later.
### How was this patch tested?
Added unit tests in `GlueClientProvider`/`GlueCatalogOperations`; existing
tests pass.
--
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]