clustered ping/pong in example not working
gfZeng opened this issue · 0 comments
gfZeng commented
two case
- pong start first, it's seems worked. ping got errors.(I'm not pasted in here)
- ping start first, it's seems worked. pong got folling errors:
GMS: address=C02SC2EWG8WN-33260, cluster=cluster1, physical address=127.0.0.1:59795
-------------------------------------------------------------------
15:58:04.514 [main] core.AbstractCluster [WARN ] {} No reader set for property ip_server_port (found in node C02SC2EWG8WN-53781)
15:58:04.515 [main] core.AbstractCluster [WARN ] {} No reader set for property ip_server_port (found in node C02SC2EWG8WN-53781)
15:58:04.534 [main] netty.SocketNodeAddressResolver [WARN ] {} Socket port (property ip_port) not set for node NODE C02SC2EWG8WN-53781 id: 0 ip_addr: /10.111.5.188 jg_addr: C02S$
2EWG8WN-53781
[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$reify__5088#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$reify__5088#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$reify__5088#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$reify__5088#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$register_BANG_.invokeStatic(actors.clj:354)
at co.paralleluniverse.pulsar.actors$register_BANG_.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)