You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Qili Chen (JIRA)" <ji...@apache.org> on 2017/12/13 00:07:01 UTC

[jira] [Created] (STORM-2852) Dup log4j jars in storm-local

Qili Chen created STORM-2852:
--------------------------------

             Summary: Dup log4j jars in storm-local
                 Key: STORM-2852
                 URL: https://issues.apache.org/jira/browse/STORM-2852
             Project: Apache Storm
          Issue Type: Bug
          Components: storm-core
    Affects Versions: 1.0.2
         Environment: Mac
            Reporter: Qili Chen


After upgrading to 1.0.2, every time there was "Could not initialize class org.apache.log4j.Log4jLoggerFactory" error when deploying a topology, but nothing suspicious found against the dependency tree.

Turned out there are dup log4j implementation jars under storm lib dir
log4j-over-slf4j-1.6.6.jar
log4j-slf4j-impl-2.1.jar

After removing log4j-over-slf4j-1.6.6.jar from lib, the whole world is running well.

Could you someone help fix? It's quite tricky to figure out the problem



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)