Matthew Gaulin created STORM-709:
------------------------------------

             Summary: Received unexpected tuple
                 Key: STORM-709
                 URL: https://issues.apache.org/jira/browse/STORM-709
             Project: Apache Storm
          Issue Type: Bug
    Affects Versions: 0.10.0
         Environment: OSX 10.10.2, Java 1.8_31
            Reporter: Matthew Gaulin


Trident Topology using 2 OpaqueTridentKafkaSpouts and a TridentKafkaState.  
Everything works great in production storm topology, but when running in local 
mode from an IDE receiving this error on startup:

java.lang.RuntimeException: java.lang.RuntimeException: Received unexpected 
tuple source: $mastercoord-bg1:2, stream: $commit, id: 
{-4957901903366351898=6364388931843393707}, [1:0]
    at 
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:128)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:99)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:80) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.daemon.executor$fn__4606$fn__4619$fn__4670.invoke(executor.clj:806)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at backtype.storm.util$async_loop$fn__543.invoke(util.clj:475) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at clojure.lang.AFn.run(AFn.java:22) [clojure-1.6.0.jar:na]
    at java.lang.Thread.run(Thread.java:745) [na:1.8.0_31]
Caused by: java.lang.RuntimeException: Received unexpected tuple source: 
$mastercoord-bg1:2, stream: $commit, id: 
{-4957901903366351898=6364388931843393707}, [1:0]
    at storm.trident.planner.SubtopologyBolt.execute(SubtopologyBolt.java:144) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
storm.trident.topology.TridentBoltExecutor.execute(TridentBoltExecutor.java:369)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.daemon.executor$fn__4606$tuple_action_fn__4608.invoke(executor.clj:668)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.daemon.executor$mk_task_receiver$fn__4529.invoke(executor.clj:424)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.disruptor$clojure_handler$reify__1229.onEvent(disruptor.clj:58) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:125)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    ... 6 common frames omitted

Also receiving this error in the same dump:

java.lang.RuntimeException: 
org.apache.storm.zookeeper.KeeperException$NodeExistsException: KeeperErrorCode 
= NodeExists for /errors/<topology-name>/<bolt-name>-last-error
    at backtype.storm.util$wrap_in_runtime.invoke(util.clj:48) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at backtype.storm.zookeeper$create_node.invoke(zookeeper.clj:92) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.cluster$mk_distributed_cluster_state$reify__2234.set_data(cluster.clj:104)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.cluster$mk_storm_cluster_state$reify__2774.report_error(cluster.clj:450)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.daemon.executor$throttled_report_error_fn$fn__4385.invoke(executor.clj:191)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
backtype.storm.daemon.executor$mk_executor_data$fn__4439$fn__4440.invoke(executor.clj:253)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at backtype.storm.util$async_loop$fn__543.invoke(util.clj:485) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at clojure.lang.AFn.run(AFn.java:22) ~[clojure-1.6.0.jar:na]
    at java.lang.Thread.run(Thread.java:745) ~[na:1.8.0_31]
Caused by: org.apache.storm.zookeeper.KeeperException$NodeExistsException: 
KeeperErrorCode = NodeExists for /errors/<topology-name>/<bolt-name>-last-error
    at 
org.apache.storm.zookeeper.KeeperException.create(KeeperException.java:119) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
org.apache.storm.zookeeper.KeeperException.create(KeeperException.java:51) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at org.apache.storm.zookeeper.ZooKeeper.create(ZooKeeper.java:783) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
org.apache.storm.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:676)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
org.apache.storm.curator.framework.imps.CreateBuilderImpl$11.call(CreateBuilderImpl.java:660)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at org.apache.storm.curator.RetryLoop.callWithRetry(RetryLoop.java:107) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
org.apache.storm.curator.framework.imps.CreateBuilderImpl.pathInForeground(CreateBuilderImpl.java:656)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
org.apache.storm.curator.framework.imps.CreateBuilderImpl.protectedPathInForeground(CreateBuilderImpl.java:441)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
org.apache.storm.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:431)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
org.apache.storm.curator.framework.imps.CreateBuilderImpl$3.forPath(CreateBuilderImpl.java:239)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at 
org.apache.storm.curator.framework.imps.CreateBuilderImpl$3.forPath(CreateBuilderImpl.java:193)
 ~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    at sun.reflect.GeneratedMethodAccessor24.invoke(Unknown Source) ~[na:na]
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[na:1.8.0_31]
    at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_31]
    at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) 
~[clojure-1.6.0.jar:na]
    at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28) 
~[clojure-1.6.0.jar:na]
    at backtype.storm.zookeeper$create_node.invoke(zookeeper.clj:91) 
~[storm-core-0.10.0-SNAPSHOT.jar:0.10.0-SNAPSHOT]
    ... 7 common frames omitted



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to