micahsecrest opened a new issue, #19967:
URL: https://github.com/apache/hudi/issues/19967
### Bug Description
**Affects:** 1.1.0+
### Bug
`GLUE_CATALOG_ID`'s key, `hoodie.datasource.meta.sync.glue.catalogId`, is
the only Hudi sync config key that isn't all-lowercase. Spark's
`DataFrameWriter`/`DataStreamWriter` store `.option()`/`.options()` values in a
`CaseInsensitiveMap`, which lowercases every key by the time it reaches Hudi.
`AWSGlueCatalogSyncClient`'s lookup is case-sensitive, so it never matches and
silently falls back to the default STS caller identity's account instead of the
configured `catalogId`. No error or warning — it just syncs to the wrong AWS
account.
### Repro
```java
df.writeStream().format("hudi")
.option("hoodie.datasource.meta.sync.glue.catalogId", "111111111111")
.option("hoodie.aws.role.arn", "arn:aws:iam::111111111111:role/foo")
...
.start(basePath)
```
Resulting Glue calls target the ambient/default account, not `111111111111`.
### Fix
Add a lowercase alternative key via `.withAlternatives(...)` on
`GLUE_CATALOG_ID`, or rename the key to be all-lowercase.
### Environment
**Hudi version:** 1.1.1
**Query engine:** Spark 3.5.1
**Relevant configs:** See repro above
### Logs and Stack Trace
_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]