You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by sn...@apache.org on 2024/12/10 14:07:40 UTC

(polaris) branch main updated: Upgrade Hadoop and Dropwizard versions and exclude non-Apache compliant transitive dependencies (#519)

This is an automated email from the ASF dual-hosted git repository.

snazy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/polaris.git


The following commit(s) were added to refs/heads/main by this push:
     new 99e128a5 Upgrade Hadoop and Dropwizard versions and exclude non-Apache compliant transitive dependencies (#519)
99e128a5 is described below

commit 99e128a5c08820ee2b14f9f99269894e3dc18802
Author: JB Onofré <jb...@apache.org>
AuthorDate: Tue Dec 10 15:07:35 2024 +0100

    Upgrade Hadoop and Dropwizard versions and exclude non-Apache compliant transitive dependencies (#519)
---
 gradle/libs.versions.toml        | 6 +++---
 polaris-service/build.gradle.kts | 5 +++++
 2 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 7a3d1ec6..67fefba6 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -18,10 +18,10 @@
 #
 
 [versions]
-hadoop = "3.4.0"
+hadoop = "3.4.1"
 iceberg = "1.7.1"
-dropwizard = "4.0.8"
-slf4j = "2.0.13"
+dropwizard = "4.0.11"
+slf4j = "2.0.16"
 swagger = "1.6.14"
 
 [bundles]
diff --git a/polaris-service/build.gradle.kts b/polaris-service/build.gradle.kts
index 06978db3..5ed865e2 100644
--- a/polaris-service/build.gradle.kts
+++ b/polaris-service/build.gradle.kts
@@ -41,6 +41,11 @@ dependencies {
     exclude("ch.qos.reload4j", "reload4j")
     exclude("log4j", "log4j")
     exclude("org.apache.zookeeper", "zookeeper")
+    exclude("org.apache.hadoop.thirdparty", "hadoop-shaded-protobuf_3_25")
+    exclude("com.github.pjfanning", "jersey-json")
+    exclude("com.sun.jersey", "jersey-core")
+    exclude("com.sun.jersey", "jersey-server")
+    exclude("com.sun.jersey", "jersey-servlet")
   }
   implementation(libs.hadoop.hdfs.client)
   implementation(libs.smallrye.common.annotation)