[
https://issues.apache.org/jira/browse/HBASE-29000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17901619#comment-17901619
]
Istvan Toth commented on HBASE-29000:
-------------------------------------
Thanks for the reviews [~nihaljain.cs] and [~zhangduo] .
I have merged this to master and branch-3, and started the CI forĀ branch-2.
> 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
>
> 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)