Skip to content

Commit

Permalink
[apache#976] improvement: Don't bundle incompatible jars in release (a…
Browse files Browse the repository at this point in the history
…pache#980)

### What changes were proposed in this pull request?
Exclude the packages with incompatible jars in the configuration of
Gradle.

### Why are the changes needed?

Fix: apache#976 

### Does this PR introduce _any_ user-facing change?
Remove unnecessary package.

### How was this patch tested?
By hand.

Co-authored-by: Heng Qin <[email protected]>
  • Loading branch information
qqqttt123 and Heng Qin authored Dec 6, 2023
1 parent ac26e1d commit 5fe1119
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions catalogs/catalog-hive/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ dependencies {
exclude("com.github.joshelser")
exclude("io.dropwizard.metricss")
exclude("org.slf4j")
exclude("org.openjdk.jol")
}

implementation(libs.hive2.exec) {
Expand All @@ -55,6 +56,7 @@ dependencies {
exclude("org.apache.curator")
exclude("org.pentaho")
exclude("org.slf4j")
exclude("org.openjdk.jol")
}

implementation(libs.hadoop2.mapreduce.client.core) {
Expand Down
5 changes: 4 additions & 1 deletion catalogs/catalog-lakehouse-iceberg/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,13 @@ dependencies {
exclude("org.apache.hadoop", "hadoop-yarn-server-web-proxy")
exclude("org.apache.hadoop", "hadoop-yarn-api")
exclude("org.apache.hadoop", "hadoop-yarn-server-resourcemanager")
exclude("com.github.spotbugs")
}

implementation(libs.hadoop2.hdfs)
implementation(libs.hadoop2.common)
implementation(libs.hadoop2.common) {
exclude("com.github.spotbugs")
}
implementation(libs.hadoop2.mapreduce.client.core)
implementation(libs.metrics.jersey2)

Expand Down

0 comments on commit 5fe1119

Please sign in to comment.