zabetak opened a new pull request, #1403: URL: https://github.com/apache/orc/pull/1403
### What changes were proposed in this pull request? * Exclude `slf4j-log4j12` from Hadoop dependencies * Exclude `logback-classic` from Zookeeper ### Why are the changes needed? Running `./mvnw clean install` shows a lot of warnings of the following form: ``` SLF4J: Class path contains SLF4J bindings targeting slf4j-api versions 1.7.x or earlier. SLF4J: Ignoring binding found at [jar:file:/home/stamatis/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Ignoring binding found at [jar:file:/home/stamatis/.m2/repository/ch/qos/logback/logback-classic/1.2.10/logback-classic-1.2.10.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See https://www.slf4j.org/codes.html#ignoredBindings for an explanation. ``` The problem is that slf4j-log4j12-1.7.10.jar and logback-classic-1.2.10.jar are in the classpath but are incompatible with the current version of slf4j-api that ORC uses. ### How was this patch tested? `./mvnw clean install 2>&1 | grep "Class path contains SLF4J bindings" | wc -l` Before: 74 After: 0 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
