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

Steve Loughran commented on HADOOP-13344:
-----------------------------------------

grepping inside the JARs scares me. I'm particularly worried about what happens 
if someone sticks an uber JAR on the CP, such as groovy-all or spark-assembly: 
excluding the JAR as it has SL4FJ in runs the risk of removing things. It's 
also going to force a grep of every line of every JAR, if I'm not mistaken, 
which will be expensive.

Can't you just have a variable listing wildcards of JARs to blacklist? Easy to 
test, easy to understand, less hidden intelligence/obscure support calls

> 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