You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Dongjoon Hyun (Jira)" <ji...@apache.org> on 2023/02/11 02:43:00 UTC

[jira] [Resolved] (ORC-1371) Remove unsupported SLF4J bindings from classpath

     [ https://issues.apache.org/jira/browse/ORC-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dongjoon Hyun resolved ORC-1371.
--------------------------------
    Fix Version/s: 1.9.0
       Resolution: Fixed

Issue resolved by pull request 1403
[https://github.com/apache/orc/pull/1403]

> Remove unsupported SLF4J bindings from classpath
> ------------------------------------------------
>
>                 Key: ORC-1371
>                 URL: https://issues.apache.org/jira/browse/ORC-1371
>             Project: ORC
>          Issue Type: Task
>          Components: build
>            Reporter: Stamatis Zampetakis
>            Assignee: Stamatis Zampetakis
>            Priority: Major
>             Fix For: 1.9.0
>
>
> Running {{./mvn clean install}} in orc/java on commit 32dffd30f747f7129b9b9b9a9ef8022660b28b5a shows many warning messages of the following form.
> {noformat}
> 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.
> {noformat}
> ORC uses slf4j-api version at 2.0.6 that is not compatible with:
>  * slf4j-log4j12/1.7.10 (coming transitively from hadoop)
>  * logback-classic/1.2.10 (coming transitively from zookeeper)
> thus the respective jars should not be in the classpath.
> Adding the necessary exclusions in the pom file fixes the problem and makes the warnings disappear.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)