Skip to content

Commit

Permalink
apache#4545 remove unused lib
Browse files Browse the repository at this point in the history
  • Loading branch information
LiuQhahah committed Sep 5, 2024
1 parent bb44ebf commit 21a35dc
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions catalogs/catalog-lakehouse-iceberg/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,12 @@ dependencies {
exclude("*")
}
implementation(project(":iceberg:iceberg-common")) {
exclude("*")
exclude(group = "org.apache.hadoop", module = "hadoop-yarn-common")
exclude(group = "org.apache.hadoop", module = "hadoop-yarn-api")
exclude(group = "org.apache.curator", module = "curator-client")
exclude(group = "org.apache.derby", module = "derby")
exclude(group = "org.fusesource.leveldbjni", module = "leveldbjni-all")
exclude(group = "org.rocksdb", module = "rocksdbjni")
}
implementation(project(":server-common"))
implementation(libs.bundles.iceberg)
Expand All @@ -62,13 +67,15 @@ dependencies {

testImplementation("org.scala-lang.modules:scala-collection-compat_$scalaVersion:$scalaCollectionCompatVersion")
testImplementation("org.apache.iceberg:iceberg-spark-runtime-${sparkMajorVersion}_$scalaVersion:$icebergVersion")
testImplementation("org.apache.spark:spark-hive_$scalaVersion:$sparkVersion")
testImplementation("org.apache.spark:spark-hive_$scalaVersion:$sparkVersion") {
exclude(group = "org.rocksdb", module = "rocksdbjni")
}
testImplementation("org.apache.spark:spark-sql_$scalaVersion:$sparkVersion") {
exclude("org.apache.avro")
exclude("org.apache.hadoop")
exclude("org.apache.zookeeper")
exclude("io.dropwizard.metrics")
exclude("org.rocksdb")
exclude(group = "org.rocksdb", module = "rocksdbjni")
}

testImplementation(libs.hadoop2.common) {
Expand Down

0 comments on commit 21a35dc

Please sign in to comment.