This is an automated email from the ASF dual-hosted git repository.
jerryshao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/gravitino.git
The following commit(s) were added to refs/heads/main by this push:
new e8a1f184f7 [#11326] improvement(hive-metastore3-libs): Exclude unused
Arrow transitive dependency (#11327)
e8a1f184f7 is described below
commit e8a1f184f78842913ff2812a3a6b4125d5947548
Author: geyanggang <[email protected]>
AuthorDate: Tue Jun 2 10:11:44 2026 +0800
[#11326] improvement(hive-metastore3-libs): Exclude unused Arrow transitive
dependency (#11327)
### What changes were proposed in this pull request?
Exclude `org.apache.arrow` transitive dependency from `hive3.metastore`
in hive-metastore3-libs module.
### Why are the changes needed?
`hive-serde:3.1.3` pulls in `arrow-vector:0.8.0` as a transitive
dependency. Gravitino only uses Hive
Metastore via its Thrift client for metadata operations and does not use
Arrow serialization. The project
already ships Arrow 18.3.0 in lance-rest-server and main libs.
Fix: #11326
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
- `./gradlew :catalogs:hive-metastore-common:test -PskipITs` — passed
- `./gradlew :catalogs:catalog-hive:test -PskipITs` — passed
- Verified `arrow-*.jar` no longer appears in build output and
distribution
---
catalogs/hive-metastore3-libs/build.gradle.kts | 1 +
1 file changed, 1 insertion(+)
diff --git a/catalogs/hive-metastore3-libs/build.gradle.kts
b/catalogs/hive-metastore3-libs/build.gradle.kts
index 8aceb9b064..1c30bba7b4 100644
--- a/catalogs/hive-metastore3-libs/build.gradle.kts
+++ b/catalogs/hive-metastore3-libs/build.gradle.kts
@@ -69,6 +69,7 @@ dependencies {
exclude(group = "javax.transaction", module = "transaction-api")
exclude(group = "junit")
exclude(group = "org.apache.ant")
+ exclude(group = "org.apache.arrow")
exclude(group = "org.apache.avro")
exclude(group = "org.apache.derby")
exclude(group = "org.apache.hadoop", module =
"hadoop-yarn-server-resourcemanager")