Storm with ES 5.4 throwing logger exceptions


(Yogesh BG) #1

Hi
I am using storm 1.0.2 and upgrading ES to 5.4. There are lot of issue related to logger am facing. i tried all combinations of already posted solution not all able to figure out the problem.

Here are my maven dependency

org.apache.logging.log4j
log4j-to-slf4j
2.8.2


org.apache.logging.log4j
log4j-1.2-api
2.8.2


org.slf4j
slf4j-simple
1.7.21

org.apache.logging.log4j log4j-core 2.8.2

and the log4j.xml has following entry`

<?xml version="1.0" encoding="UTF-8"?> ` Am not able to start the topology, sometimes even if starts i start getting error

2017-06-06 01:12:58.574 o.a.s.util [WARN] Worker Process 0cf4b54d-cde8-4f2f-b504-4f85fee1ee2d: at org.apache.logging.log4j.spi.AbstractLoggerAdapter.getLogger(Abstract
LoggerAdapter.java:48)
2017-06-06 01:12:58.914 o.a.s.d.supervisor [INFO] Worker Process 0cf4b54d-cde8-4f2f-b504-4f85fee1ee2d exited with code: 1
2017-06-06 01:12:59.032 o.a.s.d.supervisor [INFO] 0cf4b54d-cde8-4f2f-b504-4f85fee1ee2d still hasn't started


(Yogesh BG) #2

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/opt/storm/apache-storm-1.0.2/lib/log4j-slf4j-impl-2.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/opt/rtp-storm-1.0-SNAPSHOT-jar-with-dependencies.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 [org.apache.logging.slf4j.Log4jLoggerFactory]


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.