Istvan Toth created HBASE-29000:
-----------------------------------

             Summary: SLF4j logging backend incorrectly picked up from Hadoop 
when external Hadoop is specified
                 Key: HBASE-29000
                 URL: https://issues.apache.org/jira/browse/HBASE-29000
             Project: HBase
          Issue Type: Bug
          Components: logging, scripts
    Affects Versions: 2.5.10, 2.6.1, 3.0.0-beta-1
            Reporter: Istvan Toth
            Assignee: Istvan Toth


When I set  HADOOP_CLASSPATH:
{noformat}
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in 
[jar:file:/home/stoty/x/hadoop-3.4.1/share/hadoop/common/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in 
[jar:file:/home/stoty/workspaces/hbase/hbase/hbase-assembly/target/hbase-2.5.11-SNAPSHOT-client/lib/client-facing-thirdparty/log4j-slf4j-impl-2.17.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
{noformat}
HBase should always pick its own log4j2 backend.



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

Reply via email to