You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "PJ Fanning (JIRA)" <ji...@apache.org> on 2017/11/22 10:11:00 UTC

[jira] [Created] (HADOOP-15064) hadoop-common 3.0.0-beta1 exposes a dependency on slf4j-log4j12

PJ Fanning created HADOOP-15064:
-----------------------------------

             Summary: hadoop-common 3.0.0-beta1 exposes a dependency on slf4j-log4j12
                 Key: HADOOP-15064
                 URL: https://issues.apache.org/jira/browse/HADOOP-15064
             Project: Hadoop Common
          Issue Type: Bug
         Environment: https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-common/3.0.0-beta1

One of the ideas of SLF4J is that you should depend on the API jar and it is up to users of your lib to add a dependency to their preferred SLF4J implementation. You can only have one such implementation jar on your classpath.

If the hadoop build uses log4j in its tests, then this can be made a test dependency and not a general compile or runtime dependency.
            Reporter: PJ Fanning






--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org