Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#11055] improvement(deps): Upgrade libthrift from 0.9.3 to 0.12.0 in hive-metastore-libs (#11056)

geyanggangc3a24b5470a9
diff --git a/catalogs/hive-metastore2-libs/build.gradle.kts b/catalogs/hive-metastore2-libs/build.gradle.kts
index 1325711fe7..57214e8148 100644
--- a/catalogs/hive-metastore2-libs/build.gradle.kts
+++ b/catalogs/hive-metastore2-libs/build.gradle.kts
@@ -29,6 +29,11 @@ plugins {
// Guava and Logback are excluded because they are provided by the Gravitino runtime classpath.
dependencies {
+ // Force libthrift upgrade from the outdated 0.9.3 pulled by Hive Metastore transitive deps
+ constraints {
+ implementation(libs.thrift)
+ }
+
implementation(libs.hadoop3.common) {
exclude(group = "ch.qos.logback")
exclude(group = "ch.qos.reload4j")
diff --git a/catalogs/hive-metastore3-libs/build.gradle.kts b/catalogs/hive-metastore3-libs/build.gradle.kts
index 21d756190d..212f435986 100644
--- a/catalogs/hive-metastore3-libs/build.gradle.kts
+++ b/catalogs/hive-metastore3-libs/build.gradle.kts
@@ -29,6 +29,11 @@ plugins {
// Guava and Logback are excluded because they are provided by the Gravitino runtime classpath.
dependencies {
+ // Force libthrift upgrade from the outdated 0.9.3 pulled by Hive Metastore transitive deps
+ constraints {
+ implementation(libs.thrift)
+ }
+
implementation(libs.hadoop3.common) {
exclude(group = "ch.qos.logback")
exclude(group = "ch.qos.reload4j")