nevzheng opened a new pull request, #14101: URL: https://github.com/apache/gravitino/pull/14101
### What changes were proposed in this pull request? - A small `HudiSparkTestUtils` clears Hudi's JVM-wide cached Hive client before a test builds its SparkSession; `TestHudiHMSBackendOps` and `HudiCatalogHMSIT` call it. ### Why are the changes needed? Hudi's `HiveClientUtils` keeps one Hive client per JVM, and it survives `SparkSession.close()`. After `TestHudiHMSBackendOps`, it still pointed at that test's in-JVM metastore, so `HudiCatalogHMSIT` created its database on the container's metastore and its table on the stale one, and failed. Fix: #14095 (item 6) ### Does this PR introduce _any_ user-facing change? No. Test code only. ### How was this patch tested? The full `catalog-lakehouse-hudi` module: 18 tests, all 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]
