[ 
https://issues.apache.org/jira/browse/HADOOP-13344?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15373028#comment-15373028
 ] 

Sean Busbey commented on HADOOP-13344:
--------------------------------------

I think Allen means that you might have to alter poms to make any slf4j binding 
dependencies test scope (presuming the tests use biding-specific configuration 
files currently). I think Steve is pointing to the same issue wrt applications 
that create assemblies, if our existing poms include an slf4j binding as a 
runtime or compile dependency. If we remove the bindings from all those poms, 
we might then have to add it back in somewhere to ensure one is available in 
those places where we want a binding (namely when launching our daemons).

If we have to change the root pom then the patch will probably be too big for 
jenkins, since it will trigger a full build across all modules.

> Add option to exclude Hadoop's SLF4J binding
> --------------------------------------------
>
>                 Key: HADOOP-13344
>                 URL: https://issues.apache.org/jira/browse/HADOOP-13344
>             Project: Hadoop Common
>          Issue Type: New Feature
>          Components: bin, scripts
>    Affects Versions: 2.8.0, 2.7.2
>            Reporter: Thomas Poepping
>            Assignee: Thomas Poepping
>              Labels: patch
>         Attachments: HADOOP-13344.patch
>
>
> If another application that uses the Hadoop classpath brings in its own SLF4J 
> binding for logging, and that jar is not the exact same as the one brought in 
> by Hadoop, then there will be a conflict between logging jars between the two 
> classpaths. This patch introduces an optional setting to remove Hadoop's 
> SLF4J binding from the classpath, to get rid of this problem.
> This patch should be applied to 2.8.0, as bin/ and hadoop-config.sh structure 
> has been changed in 3.0.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to