hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Poepping (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-13344) Add option to exclude Hadoop's SLF4J binding
Date Tue, 19 Jul 2016 23:45:20 GMT

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

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

Sorry for the late response guys, had some other stuff come up.

I've experimented some with the patch for trunk, and it looks like I should be able to change
the directory structure in hadoop-assemblies/src/main/resources/assemblies/hadoop-dist.xml.
I've added a new directory: slf4j-lib for each component under /share/hadoop/${hadoop.component}/lib,
and verified that the slf4j lib is not added for common.

Does this seem like it should work to you guys? The change "for each classpath" only affects
common and the webserver modules. I wanted to run the implementation by you guys -- it doesn't
seem as complicated as you made it sound, so I'm sure I'm missing something.

> 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message