puniverse / pulsar

Fibers, Channels and Actors for Clojure
http://docs.paralleluniverse.co/pulsar/
Other
911 stars 53 forks source link

clustered ping/pong in example not working #74

Closed gfZeng closed 6 years ago

gfZeng commented 7 years ago

two case

[quasar] WARNING: Method not found in class - assuming suspendable: co/paralleluniverse/pulsar/actors/Server#terminate(Ljava/lang/Object;)Ljava/lang/Object; (at actors.clj:co/pa$ alleluniverse/pulsar/actors$Server$reify5088#terminate) [quasar] WARNING: Method not found in class - assuming suspendable: co/paralleluniverse/pulsar/actors/Server#handle_timeout()Ljava/lang/Object; (at actors.clj:co/parallelunivers$ /pulsar/actors$Server$reify__5088#handleTimeout) [quasar] WARNING: Method not found in class - assuming suspendable: co/paralleluniverse/pulsar/actors/Server#handle_info(Ljava/lang/Object;)Ljava/lang/Object; (at actors.clj:co/$ aralleluniverse/pulsar/actors$Server$reify5088#handleInfo) [quasar] WARNING: Method not found in class - assuming suspendable: co/paralleluniverse/pulsar/actors/Server#handle_cast(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)L$ ava/lang/Object; (at actors.clj:co/paralleluniverse/pulsar/actors$Server$reify__5088#handleCast) [quasar] WARNING: Method not found in class - assuming suspendable: co/paralleluniverse/pulsar/actors/Server#handle_call(Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)L$ ava/lang/Object; (at actors.clj:co/paralleluniverse/pulsar/actors$Server$reify5088#handleCall) [quasar] WARNING: Method not found in class - assuming suspendable: co/paralleluniverse/pulsar/actors/Server#init()Ljava/lang/Object; (at actors.clj:co/paralleluniverse/pulsar/a$ tors$Server$reify5088#init) Pong started 15:58:16.222 [pool-8-thread-1] core.Cache [WARN ] {} TIMEOUT: Op.GET(line:3497f8, data:co.paralleluniverse.galaxy.core.StringRootManager$StringRootPageHandle$ @859da88) 15:58:16.224 [ForkJoinPool-default-fiber-pool-worker-13] galaxy.GlxGlobalRegistry [ERROR] {} Registering actor ActorRef@f427c90{PulsarActor@pong[owner: fiber-10000001]} at root pong failed due to timeout

Exception in Fiber "fiber-10000001" java.lang.RuntimeException: Actor registration failed at co.paralleluniverse.remote.galaxy.GlxGlobalRegistry.register(GlxGlobalRegistry.java:89) at co.paralleluniverse.actors.ActorRegistry.register(ActorRegistry.java:52) at co.paralleluniverse.actors.Actor.register(Actor.java:1020) at co.paralleluniverse.actors.Actor.register(Actor.java:992) at co.paralleluniverse.actors.LocalActor.register(LocalActor.java:99) at co.paralleluniverse.pulsar.actors$registerBANG.invokeStatic(actors.clj:354) at co.paralleluniverse.pulsar.actors$registerBANG.invoke(actors.clj:348) at co.paralleluniverse.pulsar.examples.cluster.pong$pong.invokeStatic(pong.clj:16) at co.paralleluniverse.pulsar.examples.cluster.pong$pong.invoke(pong.clj:14) at co.paralleluniverse.pulsar.InstrumentedIFn.invoke(InstrumentedIFn.java:32) at co.paralleluniverse.pulsar.ClojureHelper.suspendableInvoke(ClojureHelper.java:218) at co.paralleluniverse.pulsar.ClojureHelper$4.run(ClojureHelper.java:205) at co.paralleluniverse.actors.PulsarActor.doRun(PulsarActor.java:92) at co.paralleluniverse.actors.Actor.run0(Actor.java:710) at co.paralleluniverse.actors.ActorRunner.run(ActorRunner.java:51) at co.paralleluniverse.fibers.Fiber.run(Fiber.java:1097) Exception in thread "main" java.lang.RuntimeException: Actor registration failed, compiling:(/private/var/folders/fs/hfzbjcfs2l70kh2tx56p1w8w0000gn/T/form-init7507316222263097838 .clj:1:125)