Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

smoketest displaying error running example #475

Merged
merged 0 commits into from
Mar 19, 2014

Conversation

kscaldef
Copy link
Contributor

Currently, I get this failure trying to run the example:

java.lang.NoSuchMethodError: com.twitter.concurrent.Spool$.syntax(Lcom/twitter/util/Future;)Lcom/twitter/concurrent/Spool$Syntax;
at com.twitter.finagle.memcached.CachePoolCluster$class.com$twitter$finagle$memcached$CachePoolCluster$$appendUpdate(CachePoolCluster.scala:146)
at com.twitter.finagle.memcached.CachePoolCluster$$anonfun$updatePool$2.apply(CachePoolCluster.scala:140)
at com.twitter.finagle.memcached.CachePoolCluster$$anonfun$updatePool$2.apply(CachePoolCluster.scala:138)
at scala.collection.immutable.Set$Set1.foreach(Set.scala:86)
at com.twitter.finagle.memcached.CachePoolCluster$class.updatePool(CachePoolCluster.scala:138)
at com.twitter.finagle.memcached.StaticCachePoolCluster.updatePool(CachePoolCluster.scala:174)
at com.twitter.finagle.memcached.StaticCachePoolCluster.(CachePoolCluster.scala:176)
at com.twitter.finagle.memcached.CachePoolCluster$.newStaticCluster(CachePoolCluster.scala:73)
at com.twitter.finagle.memcached.KetamaClientBuilder.nodes(Client.scala:764)
at com.twitter.finagle.memcached.KetamaClientBuilder.nodes(Client.scala:770)
at com.twitter.summingbird.example.Memcache$.client(Storage.scala:53)

@johnynek
Copy link
Collaborator

From @kscaldef : FWIW, downgrading the storehaus dependency to 0.8.0 seems to have "fixed" the problem.

@ianoc
Copy link
Collaborator

ianoc commented Mar 10, 2014

I'll take a look at this

@rubanm
Copy link
Contributor

rubanm commented Mar 10, 2014

@ianoc
Copy link
Collaborator

ianoc commented Mar 11, 2014

Its related to the util bump, but really its because the version of finagle we have in the build is incompatible with the util version now. I'll open a PR against storehaus with the bump. @Rubam it requires modification to the mysql stuff so if you could sanity check it that would be great. Thanks.

@ianoc
Copy link
Collaborator

ianoc commented Mar 11, 2014

FYI, storehaus pr : twitter/storehaus#223

@camelia-c
Copy link

Me too, I get the same error when running the example
./sbt "summingbird-example/run --local"
Looking forward to receiving Your advice as soon as possible. Thank You very much!

Camelia


Mar 13, 2014 6:36:46 PM com.twitter.util.RootMonitor$ handle
SEVERE: Fatal exception propagated to the root monitor!
java.lang.NoSuchMethodError: com.twitter.concurrent.Spool$.syntax(Lcom/twitter/util/Future;)Lcom/twitter/concurrent/Spool$Syntax;
at com.twitter.finagle.memcached.CachePoolCluster$class.com$twitter$finagle$memcached$CachePoolCluster$$appendUpdate(CachePoolCluster.scala:146)
at com.twitter.finagle.memcached.CachePoolCluster$$anonfun$updatePool$2.apply(CachePoolCluster.scala:140)
at com.twitter.finagle.memcached.CachePoolCluster$$anonfun$updatePool$2.apply(CachePoolCluster.scala:138)
at scala.collection.immutable.Set$Set1.foreach(Set.scala:86)
at com.twitter.finagle.memcached.CachePoolCluster$class.updatePool(CachePoolCluster.scala:138)
at com.twitter.finagle.memcached.StaticCachePoolCluster.updatePool(CachePoolCluster.scala:174)
at com.twitter.finagle.memcached.StaticCachePoolCluster.(CachePoolCluster.scala:176)
at com.twitter.finagle.memcached.CachePoolCluster$.newStaticCluster(CachePoolCluster.scala:73)
at com.twitter.finagle.memcached.KetamaClientBuilder.nodes(Client.scala:764)
at com.twitter.finagle.memcached.KetamaClientBuilder.nodes(Client.scala:770)
at com.twitter.summingbird.example.Memcache$.client(Storage.scala:53)
at com.twitter.summingbird.example.Memcache$.store(Storage.scala:73)
at com.twitter.summingbird.example.Memcache$.mergeable(Storage.scala:78)
at com.twitter.summingbird.example.StormRunner$.stringLongStore(StormRunner.scala:93)
at com.twitter.summingbird.example.StormRunner$$anonfun$1.apply(StormRunner.scala:99)
at com.twitter.summingbird.example.StormRunner$$anonfun$1.apply(StormRunner.scala:99)
at com.twitter.summingbird.storm.Storm$$anonfun$wrapMergable$1$1$$anon$1.(StormPlatform.scala:222)
at com.twitter.summingbird.storm.Storm$$anonfun$wrapMergable$1$1.apply(StormPlatform.scala:221)
at com.twitter.summingbird.storm.Storm$$anonfun$wrapMergable$1$1.apply(StormPlatform.scala:220)
at com.twitter.summingbird.online.executor.Summer.store(Summer.scala:72)
at com.twitter.summingbird.online.executor.Summer.com$twitter$summingbird$online$executor$Summer$$handleResult(Summer.scala:91)
at com.twitter.summingbird.online.executor.Summer$$anonfun$tick$1.apply(Summer.scala:99)
at com.twitter.summingbird.online.executor.Summer$$anonfun$tick$1.apply(Summer.scala:99)
at com.twitter.util.Future$$anonfun$map$1$$anonfun$apply$5.apply(Future.scala:768)
at com.twitter.util.Try$.apply(Try.scala:13)
at com.twitter.util.Future$.apply(Future.scala:69)
at com.twitter.util.Future$$anonfun$map$1.apply(Future.scala:768)
at com.twitter.util.Future$$anonfun$map$1.apply(Future.scala:768)
at com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:731)
at com.twitter.util.Future$$anonfun$flatMap$1.apply(Future.scala:730)
at com.twitter.util.ConstFuture$$anonfun$transform$1.apply(Future.scala:1024)
at com.twitter.util.ConstFuture$$anonfun$transform$1.apply(Future.scala:1023)
at com.twitter.util.ConstFuture$$anon$4$$anonfun$run$1.apply$mcV$sp(Future.scala:1013)
at com.twitter.util.Monitor$.apply(Monitor.scala:128)
at com.twitter.util.ConstFuture$$anon$4.run(Future.scala:1013)
at com.twitter.concurrent.LocalScheduler$Activation.run(Scheduler.scala:122)
at com.twitter.concurrent.LocalScheduler$Activation.submit(Scheduler.scala:100)
at com.twitter.concurrent.LocalScheduler.submit(Scheduler.scala:141)
at com.twitter.concurrent.Scheduler$.submit(Scheduler.scala:55)
at com.twitter.util.ConstFuture.respond(Future.scala:1009)
at com.twitter.util.ConstFuture.transform(Future.scala:1023)
at com.twitter.util.Future.flatMap(Future.scala:730)
at com.twitter.util.Future.map(Future.scala:768)
at com.twitter.summingbird.online.executor.Summer.tick(Summer.scala:99)
at com.twitter.summingbird.online.executor.AsyncBase.executeTick(AsyncBase.scala:41)
at com.twitter.summingbird.online.executor.AsyncBase.executeTick(AsyncBase.scala:26)
at com.twitter.summingbird.storm.BaseBolt.execute(BaseBolt.scala:86)
at backtype.storm.daemon.executor$fn__3557$tuple_action_fn__3559.invoke(executor.clj:610)
at backtype.storm.daemon.executor$mk_task_receiver$fn__3480.invoke(executor.clj:385)
at backtype.storm.disruptor$clojure_handler$reify__3017.onEvent(disruptor.clj:43)
at backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
at backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:58)
at backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:62)
at backtype.storm.daemon.executor$fn__3557$fn__3569$fn__3616.invoke(executor.clj:715)
at backtype.storm.util$async_loop$fn__436.invoke(util.clj:377)
at clojure.lang.AFn.run(AFn.java:24)
at java.lang.Thread.run(Thread.java:722)

@camelia-c
Copy link

Cool! I managed to solve it, following @johnynek 's advice.

For anybody else encountering this behaviour, just go to /summingbird/project/Build.scala
and replace line:
val storehausVersion = "0.9.0rc2"
with line:
val storehausVersion = "0.8.0"

Then, when you run again
./sbt "summingbird-example/run --local"

it works fine!

Camelia

@johnynek johnynek merged commit 6eb8e7e into twitter:develop Mar 19, 2014
@ianoc
Copy link
Collaborator

ianoc commented Mar 19, 2014

Did anything get merged here? Github reports no changes?

@kscaldef
Copy link
Contributor Author

I might have done a naughty thing with my fork that confused github. I'm going to re-create the PR.

snoble pushed a commit to snoble/summingbird that referenced this pull request Sep 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants