You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@polaris.apache.org by em...@apache.org on 2024/11/08 08:30:15 UTC

(polaris) branch main updated: Move hadoop deps from core to `polaris-service` (#439)

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

emaynard 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 85f9428b Move hadoop deps from core to `polaris-service` (#439)
85f9428b is described below

commit 85f9428b181caf7f9724b0a7be936e57cbb15783
Author: Dmitri Bourlatchkov <dm...@dremio.com>
AuthorDate: Fri Nov 8 03:30:11 2024 -0500

    Move hadoop deps from core to `polaris-service` (#439)
---
 polaris-core/build.gradle.kts    | 8 --------
 polaris-service/build.gradle.kts | 8 ++++++++
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/polaris-core/build.gradle.kts b/polaris-core/build.gradle.kts
index b07a1876..ec5b2bd3 100644
--- a/polaris-core/build.gradle.kts
+++ b/polaris-core/build.gradle.kts
@@ -50,13 +50,6 @@ dependencies {
   compileOnly(libs.jetbrains.annotations)
   compileOnly(libs.spotbugs.annotations)
 
-  implementation(libs.hadoop.common) {
-    exclude("org.slf4j", "slf4j-reload4j")
-    exclude("org.slf4j", "slf4j-log4j12")
-    exclude("ch.qos.reload4j", "reload4j")
-    exclude("log4j", "log4j")
-    exclude("org.apache.zookeeper", "zookeeper")
-  }
   constraints {
     implementation("org.xerial.snappy:snappy-java:1.1.10.4") {
       because("Vulnerability detected in 1.1.8.2")
@@ -74,7 +67,6 @@ dependencies {
       because("Vulnerability detected in 9.8.1")
     }
   }
-  implementation(libs.hadoop.hdfs.client)
 
   implementation(libs.javax.inject)
   implementation(libs.swagger.annotations)
diff --git a/polaris-service/build.gradle.kts b/polaris-service/build.gradle.kts
index 772e5d2d..bc7a4a4f 100644
--- a/polaris-service/build.gradle.kts
+++ b/polaris-service/build.gradle.kts
@@ -35,6 +35,14 @@ dependencies {
   implementation("org.apache.iceberg:iceberg-api")
   implementation("org.apache.iceberg:iceberg-core")
   implementation("org.apache.iceberg:iceberg-aws")
+  implementation(libs.hadoop.common) {
+    exclude("org.slf4j", "slf4j-reload4j")
+    exclude("org.slf4j", "slf4j-log4j12")
+    exclude("ch.qos.reload4j", "reload4j")
+    exclude("log4j", "log4j")
+    exclude("org.apache.zookeeper", "zookeeper")
+  }
+  implementation(libs.hadoop.hdfs.client)
 
   implementation(platform(libs.dropwizard.bom))
   implementation("io.dropwizard:dropwizard-core")