summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-07-07 19:33:41 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-07-07 19:33:41 +0200
commit6d5734447048552c46a5c46dbf630f0e5be50765 (patch)
treea0059cf451c91333529d3e9c0cdf3a88f71a5f10
parent58a7fa5fbf49d88f0b6059a7935dec3278754e44 (diff)
build(trace/parquet): Ignore reload4j dependency
This change updates the build configuration to ignore the reload4j dependency that was recently added to the hadoop-common module. Reload4j replaces the old unmaintained log4j1 module. However, since we expose this module as a library, we do not want to include a logging implementation in the dependencies. Currently, there are already instances where this new dependency leads to duplicate logging implementations on the classpath.
-rw-r--r--opendc-trace/opendc-trace-parquet/build.gradle.kts4
1 files changed, 2 insertions, 2 deletions
diff --git a/opendc-trace/opendc-trace-parquet/build.gradle.kts b/opendc-trace/opendc-trace-parquet/build.gradle.kts
index 9b1e1273..2217a017 100644
--- a/opendc-trace/opendc-trace-parquet/build.gradle.kts
+++ b/opendc-trace/opendc-trace-parquet/build.gradle.kts
@@ -33,8 +33,8 @@ dependencies {
exclude(group = "org.apache.hadoop")
}
api(libs.hadoop.common) {
- exclude(group = "org.slf4j", module = "slf4j-log4j12")
- exclude(group = "log4j")
+ exclude(group = "org.slf4j", module = "slf4j-reload4j")
+ exclude(group = "ch.qos.reload4j", module = "reload4j")
exclude(group = "org.apache.hadoop")
exclude(group = "org.apache.curator")
exclude(group = "org.apache.zookeeper")