Arun Mahadevan created STORM-2881:
-------------------------------------
Summary: Storm-druid topologies fail with NoSuchMethodError
Key: STORM-2881
URL: https://issues.apache.org/jira/browse/STORM-2881
Project: Apache Storm
Issue Type: Bug
Reporter: Arun Mahadevan
Assignee: Arun Mahadevan
Deploy a sample topology with storm-druid (E.g. the SampleDruidBoltTopology
available in the storm git repo). The worker crashes with below error:
{noformat}
2017-12-28 15:47:36.382 o.a.s.util
Thread-11-113-Violation-Events-Cube-executor9 9 ERROR Async loop died!
java.lang.NoSuchMethodError:
org.apache.curator.framework.api.CreateBuilder.creatingParentsIfNeeded()Lorg/apache/curator/framework/api/ProtectACLCreateModePathAndBytesable;
at
com.metamx.tranquility.beam.ClusteredBeam$$anonfun$com$metamx$tranquility$beam$ClusteredBeam$$zpathWithDefault$1.apply(ClusteredBeam.scala:125)
~dep-org.apache.storm-storm-druid-jar-1.2.0.3.1.0.0-420.jar.1514384427000:1.2.0.3.1.0.0-420
at
com.metamx.tranquility.beam.ClusteredBeam$$anonfun$com$metamx$tranquility$beam$ClusteredBeam$$zpathWithDefault$1.apply(ClusteredBeam.scala:122)
~dep-org.apache.storm-storm-druid-jar-1.2.0.3.1.0.0-420.jar.1514384427000:1.2.0.3.1.0.0-420
at com.metamx.common.scala.Predef$EffectOps.withEffect(Predef.scala:44)
~dep-org.apache.storm-storm-druid-jar-1.2.0.3.1.0.0-420.jar.1514384427000:1.2.0.3.1.0.0-420
at
{noformat}
storm-druid has dependency on curator 2.6.0, but the storm parent pom has
defined 4.0.0 version in the dependency Management.
Due to this storm-druid is inheriting the 4.0.0 version of curator and
including that version in the jar.
If we explicitly mention the curator dependency in the storm-druid pom.xml,
this can be addressed.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)