Commits


Jin Shang authored and GitHub committed 2e4a96c6e82
GH-34479: [Java] java-jars failing due to conflicting slf4j bindings (#34480) ### Describe the bug, including details regarding any error messages, version, and platform. Example failure build: https://github.com/ursacomputing/crossbow/actions/runs/4341450290/jobs/7582202736 > SLF4J: Class path contains multiple SLF4J bindings. > SLF4J: Found binding in [jar:file:/Users/runner/.m2/repository/org/slf4j/slf4j-reload4j/1.7.36/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: Found binding in [jar:file:/Users/runner/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] > SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. > SLF4J: Detected both log4j-over-slf4j.jar AND bound slf4j-reload4j.jar on the class path, preempting StackOverflowError. > SLF4J: See also http://www.slf4j.org/codes.html#log4jDelegationLoop for more details. Caused by https://github.com/apache/arrow/pull/13861, hadoop-common 3.3.3 added dependency on reload4j( https://hadoop.apache.org/docs/r3.3.3/hadoop-project-dist/hadoop-common/release/3.3.3/RELEASENOTES.3.3.3.html). We should exclude slf4j-reload4j as suggested on the release note. ### Component(s) Java * Closes: #34479 Authored-by: Jin Shang <shangjin1997@gmail.com> Signed-off-by: David Li <li.davidm96@gmail.com>