[
https://issues.apache.org/jira/browse/FLINK-1097?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14131471#comment-14131471
]
Till Rohrmann commented on FLINK-1097:
--------------------------------------
The problem is that there is a slf4j-log4j12 jar in the lib directory. I assume
that it is transitively copied from the hadoop dependency. Should be excluded
in the pom file.
> SLFJ warnings when running with Hadoop 2
> ----------------------------------------
>
> Key: FLINK-1097
> URL: https://issues.apache.org/jira/browse/FLINK-1097
> Project: Flink
> Issue Type: Improvement
> Components: Local Runtime
> Affects Versions: 0.7-incubating
> Reporter: Ufuk Celebi
> Priority: Minor
>
> I get this warning when running Flink with Hadoop 2 (I haven't tested Hadoop
> 1).
> {code}
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in
> [jar:file:.../flink-build/lib/flink-dist-0.7-incubating-SNAPSHOT-yarn-uberjar.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:.../flink-build/lib/logback-classic-1.0.13.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: Found binding in
> [jar:file:.../flink-build/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
> explanation.
> SLF4J: Actual binding is of type
> [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
> log4j:WARN No appenders could be found for logger
> (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more
> info.
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)