Skip to content

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

[#11314] improvement(deps): Remove unused htrace-core4 dependency from Hive and Hudi catalogs (#11316)

geyangganged5cf43391c9
diff --git a/catalogs/catalog-hive/build.gradle.kts b/catalogs/catalog-hive/build.gradle.kts
index ed40edb1a8..35bf217757 100644
--- a/catalogs/catalog-hive/build.gradle.kts
+++ b/catalogs/catalog-hive/build.gradle.kts
@@ -60,7 +60,6 @@ dependencies {
implementation(libs.hadoop3.shaded.protobuf)
implementation(libs.commons.configuration2)
implementation(libs.re2j)
- implementation(libs.htrace.core4)
implementation(libs.slf4j.api)
implementation(libs.woodstox.core)
diff --git a/catalogs/catalog-lakehouse-hudi/build.gradle.kts b/catalogs/catalog-lakehouse-hudi/build.gradle.kts
index 5fd87a9c7a..29c5f39a50 100644
--- a/catalogs/catalog-lakehouse-hudi/build.gradle.kts
+++ b/catalogs/catalog-lakehouse-hudi/build.gradle.kts
@@ -59,7 +59,6 @@ dependencies {
implementation(libs.hadoop3.shaded.protobuf)
implementation(libs.commons.configuration2)
implementation(libs.re2j)
- implementation(libs.htrace.core4)
implementation(libs.slf4j.api)
implementation(libs.woodstox.core)
@@ -131,7 +130,6 @@ dependencies {
testImplementation(libs.hadoop3.shaded.protobuf)
testImplementation(libs.commons.configuration2)
testImplementation(libs.re2j)
- testImplementation(libs.htrace.core4)
testImplementation(libs.junit.jupiter.api)
testImplementation(libs.mysql.driver)
testImplementation(libs.postgresql.driver)
diff --git a/catalogs/hive-metastore-common/build.gradle.kts b/catalogs/hive-metastore-common/build.gradle.kts
index 736ce064df..e4bde6e3e6 100644
--- a/catalogs/hive-metastore-common/build.gradle.kts
+++ b/catalogs/hive-metastore-common/build.gradle.kts
@@ -126,7 +126,6 @@ dependencies {
exclude("org.openjdk.jol")
exclude("org.slf4j")
}
- testImplementation(libs.htrace.core4)
testImplementation(libs.caffeine)
testImplementation(libs.junit.jupiter.api)
testImplementation(libs.mockito.core)
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index df44277b4a..7d3f7a00ae 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -47,7 +47,6 @@ hadoop3-aliyun = "3.3.6"
hadoop3-thirdparty = "1.1.1"
hadoop-minikdc = "3.3.6"
re2j = "1.7"
-htrace-core4 = "4.1.0-incubating"
httpclient = "4.4.1"
httpclient5 = "5.4.4"
httpcore5 = "5.3.4"
@@ -238,7 +237,6 @@ hadoop3-abs = { group = "org.apache.hadoop", name = "hadoop-azure", version.ref
hadoop3-shaded-guava = { group = "org.apache.hadoop.thirdparty", name = "hadoop-shaded-guava", version.ref = "hadoop3-thirdparty" }
hadoop3-shaded-protobuf = { group = "org.apache.hadoop.thirdparty", name = "hadoop-shaded-protobuf_3_7", version.ref = "hadoop3-thirdparty" }
re2j = { group = "com.google.re2j", name = "re2j", version.ref = "re2j" }
-htrace-core4 = { group = "org.apache.htrace", name = "htrace-core4", version.ref = "htrace-core4" }
airlift-json = { group = "io.airlift", name = "json", version.ref = "airlift-json"}
airlift-resolver = { group = "io.airlift.resolver", name = "resolver", version.ref = "airlift-resolver"}
httpclient = { group = "org.apache.httpcomponents", name = "httpclient", version.ref = "httpclient" }