Skip to content

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

[#11084] improvement(deps): Upgrade snappy-java from 1.1.8.2 to 1.1.10.8 in hive-metastore-libs (#11085)

geyanggangf731107f6b7b
diff --git a/catalogs/hive-metastore2-libs/build.gradle.kts b/catalogs/hive-metastore2-libs/build.gradle.kts
index 57214e8148..852ff7fafa 100644
--- a/catalogs/hive-metastore2-libs/build.gradle.kts
+++ b/catalogs/hive-metastore2-libs/build.gradle.kts
@@ -29,9 +29,10 @@ 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
+ // Force upgrades for outdated transitive dependencies pulled by Hive Metastore
constraints {
implementation(libs.thrift)
+ implementation(libs.snappy.java)
}
implementation(libs.hadoop3.common) {
diff --git a/catalogs/hive-metastore3-libs/build.gradle.kts b/catalogs/hive-metastore3-libs/build.gradle.kts
index 212f435986..458bce593f 100644
--- a/catalogs/hive-metastore3-libs/build.gradle.kts
+++ b/catalogs/hive-metastore3-libs/build.gradle.kts
@@ -29,9 +29,10 @@ 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
+ // Force upgrades for outdated transitive dependencies pulled by Hive Metastore
constraints {
implementation(libs.thrift)
+ implementation(libs.snappy.java)
}
implementation(libs.hadoop3.common) {
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 72884f0fff..cfa98b7416 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -84,6 +84,7 @@ metrics = "4.2.25"
prometheus = "0.16.0"
clickhouse = "0.7.1"
lz4 = "1.8.0"
+snappy-java = "1.1.10.8"
mysql = "8.0.33"
postgresql = "42.6.0"
immutables-value = "2.11.7"
@@ -290,6 +291,7 @@ prometheus-dropwizard = { group = "io.prometheus", name = "simpleclient_dropwiza
prometheus-servlet = { group = "io.prometheus", name = "simpleclient_servlet", version.ref = "prometheus" }
clickhouse-driver = { group = "com.clickhouse", name = "clickhouse-jdbc", version.ref = "clickhouse" }
lz4-java = { group = "org.lz4", name = "lz4-java", version.ref = "lz4" }
+snappy-java = { group = "org.xerial.snappy", name = "snappy-java", version.ref = "snappy-java" }
mysql-driver = { group = "mysql", name = "mysql-connector-java", version.ref = "mysql" }
postgresql-driver = { group = "org.postgresql", name = "postgresql", version.ref = "postgresql" }
minikdc = { group = "org.apache.hadoop", name = "hadoop-minikdc", version.ref = "hadoop-minikdc"}