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:12:00 UTC

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

     [ https://issues.apache.org/jira/browse/HADOOP-15064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

PJ Fanning updated HADOOP-15064:
--------------------------------
    Description: 
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.

> 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
>    Affects Versions: 3.0.0-beta1
>         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
>
> 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.



--
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