[
https://issues.apache.org/jira/browse/HBASE-29000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth resolved HBASE-29000.
---------------------------------
Fix Version/s: 2.7.0
2.5.11
2.6.2
Resolution: Fixed
Committed to all active branches.
Thanks for the reviews [~nihaljain.cs] and [~zhangduo] .
> 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: 3.0.0-beta-1, 2.7.0, 2.6.1, 2.5.10
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.5.11, 2.6.2
>
>
> 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)