Skip to content

Commit

Permalink
Move hadoop deps from core to polaris-service
Browse files Browse the repository at this point in the history
  • Loading branch information
dimas-b committed Nov 8, 2024
1 parent 05edcdd commit 6e1a431
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 0 additions & 8 deletions polaris-core/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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)
Expand Down
8 changes: 8 additions & 0 deletions polaris-service/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 6e1a431

Please sign in to comment.