geyanggang opened a new pull request, #11338:
URL: https://github.com/apache/gravitino/pull/11338
### What changes were proposed in this pull request?
Added `exclude("org.apache.tomcat.embed")` to the
`runtimeOnly(libs.hive2.exec)` block in `build.gradle.kts`.
### Why are the changes needed?
`tomcat-embed-core:8.5.46` is transitively pulled in via `hive-exec` →
`hive-shims-common` → `libthrift:0.14.1`. The Paimon catalog does not use
Thrift's HTTP transport at runtime. A prior exclude on the paimon bundle only
blocked one dependency path; this change closes the remaining path through
`hive-exec`.
Fix: #11337
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- Verified with `./gradlew
:catalogs:catalog-lakehouse-paimon:dependencyInsight --dependency
tomcat-embed-core --configuration runtimeClasspath` — reports "No dependencies
matching given input".
- `./gradlew :catalogs:catalog-lakehouse-paimon:build -x test` passes.
--
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]