From 6e1a4314b0dcd6a2b053b8b8489299ca43486f71 Mon Sep 17 00:00:00 2001 From: Dmitri Bourlatchkov Date: Thu, 7 Nov 2024 20:11:33 -0500 Subject: [PATCH] Move hadoop deps from core to `polaris-service` --- 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 b07a18767..ec5b2bd3f 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 772e5d2d1..bc7a4a4f5 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")