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

Thomas Poepping commented on HADOOP-13344:
------------------------------------------

this seems like a different issue, but I understand what you're saying. as it 
stands now, it looks like hadoop-mapreduce-project, hadoop-mapreduce-client, 
and hadoop-minikdc all have the slf4j binding as a compile dependency, rather 
than a runtime dependency. changing this would exclude it for dependent 
projects. 

I would recommend a different JIRA for this issue, however, because this is not 
the issue I'm trying to solve here. The issue I'm trying to solve is that 
hadoop-config.sh will place the slf4j binding on the classpath no matter what. 
Applications that must be installed with hadoop to function (e.g. hive) will 
end up having Hadoop's slf4j-binding on their classpath, even if they don't 
want it there. This option would give the opportunity, in this instance, to 
remove that dependency from the classpath.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to