[
https://issues.apache.org/jira/browse/HBASE-29770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18051833#comment-18051833
]
Istvan Toth commented on HBASE-29770:
-------------------------------------
I originally intended this for all active brances, but Hadoop 2 depends on
commons-loggin internals in
org.apache.hadoop.hdfs.server.common.MetricsLoggerTask , and thus unable to run
the test suite without the real commons-logging.
Rather than hacking around this with the test classpath, do the exclusion only
on branch-3+ , which only supports Hadoop 3.x
> Exclude commons-logging from HBase
> ----------------------------------
>
> Key: HBASE-29770
> URL: https://issues.apache.org/jira/browse/HBASE-29770
> Project: HBase
> Issue Type: Improvement
> Components: logging
> Reporter: Istvan Toth
> Assignee: Istvan Toth
> Priority: Major
> Labels: pull-request-available
>
> We're already adding jcl-over-slf4j, which implements commons-logging and
> redirects it to SLF4j then to Log4j2.
> Having both jcl-over-slf4j and commons-logging on the classpath leads to
> classpath ordering dependent behavior.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)