Storm 0.7.4 Tranquility failed Incompatible Jackson version: 2.5.3

I’m trying to write a bolt for Storm topology. It compiles fine but it failed when I deployed to our Storm cluster.

Here’s the exception.

562 [Thread-9-druid] ERROR backtype.storm.daemon.executor -
java.lang.ExceptionInInitializerError: null
at com.metamx.tranquility.druid.DruidBeams$.(DruidBeams.scala:89) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.tranquility.druid.DruidBeams$.(DruidBeams.scala) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.tranquility.druid.DruidBeams.fromConfig(DruidBeams.scala) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at io.conde.data.bolt.DruidBeamFactory.makeBeam(DruidBeamFactory.java:24) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.tranquility.storm.BeamBolt.prepare(BeamBolt.scala:58) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at backtype.storm.daemon.executor$fn__4722$fn__4734.invoke(executor.clj:692) ~[storm-core-0.9.4.jar:0.9.4]
at backtype.storm.util$async_loop$fn__458.invoke(util.clj:461) ~[storm-core-0.9.4.jar:0.9.4]
at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_71]
Caused by: com.fasterxml.jackson.databind.JsonMappingException: Incompatible Jackson version: 2.5.3
at com.fasterxml.jackson.module.scala.JacksonModule$class.setupModule(JacksonModule.scala:64) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.fasterxml.jackson.module.scala.DefaultScalaModule.setupModule(DefaultScalaModule.scala:18) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.fasterxml.jackson.databind.ObjectMapper.registerModule(ObjectMapper.java:651) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$$anonfun$newObjectMapper$1.apply(Jackson.scala:70) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$$anonfun$newObjectMapper$1.apply(Jackson.scala:68) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Predef$EffectOps.withEffect(Predef.scala:44) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$class.newObjectMapper(Jackson.scala:67) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$.newObjectMapper(Jackson.scala:10) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$class.newObjectMapper(Jackson.scala:64) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$.newObjectMapper(Jackson.scala:10) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$class.init(Jackson.scala:14) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$.(Jackson.scala:10) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
at com.metamx.common.scala.Jackson$.(Jackson.scala) ~[storm-twitter-stream-1.0-SNAPSHOT-jar-with-dependencies.jar:na]
… 9 common frames omitted
5570 [Thread-9-druid] ERROR backtype.storm.util - Halting process: (“Worker died”)
java.lang.RuntimeException: (“Worker died”)
at backtype.storm.util$exit_process_BANG_.doInvoke(util.clj:325) [storm-core-0.9.4.jar:0.9.4]
at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.5.1.jar:na]
at backtype.storm.daemon.worker$fn__5098$fn__5099.invoke(worker.clj:491) [storm-core-0.9.4.jar:0.9.4]
at backtype.storm.daemon.executor$mk_executor_data$fn__4555$fn__4556.invoke(executor.clj:240) [storm-core-0.9.4.jar:0.9.4]
at backtype.storm.util$async_loop$fn__458.invoke(util.clj:473) [storm-core-0.9.4.jar:0.9.4]
at clojure.lang.AFn.run(AFn.java:24) [clojure-1.5.1.jar:na]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_71]

``

And this is my pom.xml file.

<dependencies>
    <dependency>
        <groupId>junit</groupId>
        <artifactId>junit</artifactId>
        <version>4.12</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.mockito</groupId>
        <artifactId>mockito-all</artifactId>
        <version>1.10.19</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.apache.storm</groupId>
        <artifactId>storm-core</artifactId>
        <version>0.9.4</version>
        <scope>provided</scope>
    </dependency>
    <dependency>
        <groupId>org.twitter4j</groupId>
        <artifactId>twitter4j-stream</artifactId>
        <version>3.0.3</version>
    </dependency>
    <dependency>
        <groupId>org.ini4j</groupId>
        <artifactId>ini4j</artifactId>
        <version>0.5.4</version>
    </dependency>
    <dependency>
        <groupId>com.rabbitmq</groupId>
        <artifactId>amqp-client</artifactId>
        <version>3.6.0</version>
    </dependency>
    <dependency>
        <groupId>com.google.code.gson</groupId>
        <artifactId>gson</artifactId>
        <version>2.5</version>
    </dependency>
    <dependency>
        <groupId>com.amazonaws</groupId>
        <artifactId>aws-java-sdk</artifactId>
        <version>1.10.46</version>
        <exclusions>
            <exclusion>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>data-bind</artifactId>
            </exclusion>
            <exclusion>
                <groupId>com.fasterxml.jackson.core</groupId>
                <artifactId>jackson-core</artifactId>
            </exclusion>
        </exclusions>
    </dependency>
    <dependency>
        <groupId>com.amazonaws</groupId>
        <artifactId>aws-java-sdk-core</artifactId>
        <version>1.10.46</version>
    </dependency>
    <dependency>
        <groupId>io.druid</groupId>
        <artifactId>tranquility-storm_2.10</artifactId>
        <version>0.7.4</version>
    </dependency>

</dependencies>

I tried exclusions from aws-java-sdk but that didn’t work.

I also tried with tranquility-storm_2.11 also didn’t work.