[Logo] Terracotta Discussion Forums (LEGACY READ-ONLY ARCHIVE)
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
[Expert]
Messages posted by: aukidawe  XML
Profile for aukidawe -> Messages posted by aukidawe [1]
Author Message
Hi,
Setup:
Machine 1: Active Terracotta , orchestrator 1 running on machine1:9001.
Machine 2: Passive terracotta and standby orchestrator 2 is running on machine2:9001.
Machine 3: Replica Cache hosted by (Orchestrator 3)

Active Terracotta (Orchestrator 1) Master cache is being replicated to machine 3:9001 - Replica cache hosted by (Orchestrator 3)

In an event when machine 1 goes down, the Active Terracotta on machine 1 fails over to the Passive terracotta on machine 2.(Passive becomes Active)
However the same behavior is not observed for the orchestrator. Orchestrator 2 should assume role of Orchestrator 1 and start serving the master cache.
In fact Orchestrator 2 is also replicating from Orchestrator 1 instead of serving as a failover.
Am i missing a configuration or is this a bug?

I am currently getting NullPointer exceptions after running this.


2014-02-21 11:26:58,194 ERROR [buf-cluster-listener-0] SafeCallback - Callback %s.onFailure() for target SafeCallback threw execption while handling exception unknown:0. Ignoring it.
java.lang.NullPointerException
at com.terracottatech.wan.orch.BufferedClusterListener$2.onFailure(BufferedClusterListener.java:133)
at com.terracottatech.wan.util.eventproc.SafeCallback.onFailure(SafeCallback.java:35)
at com.terracottatech.wan.util.eventproc.BufferingEventProcessor$1$1.onFailure(BufferingEventProcessor.java:133)
at com.terracottatech.wan.orch.BufferedClusterListener$1$1.apply(BufferedClusterListener.java:96)
at com.terracottatech.wan.orch.BufferedClusterListener$1$1.apply(BufferedClusterListener.java:93)
at com.twitter.util.Future$$anonfun$onFailure$1.apply(Future.scala:678)
at com.twitter.util.Future$$anonfun$onFailure$1.apply(Future.scala:677)
at com.twitter.util.ConstFuture$$anon$4$$anonfun$run$1.apply$mcV$sp(Future.scala:874)
at com.twitter.util.Monitor$.apply(Monitor.scala:128)
at com.twitter.util.ConstFuture$$anon$4.run(Future.scala:874)
at com.twitter.concurrent.LocalScheduler$Activation.run(Scheduler.scala:121)
at com.twitter.concurrent.LocalScheduler$Activation.submit(Scheduler.scala:99)
at com.twitter.concurrent.LocalScheduler.submit(Scheduler.scala:140)
at com.twitter.concurrent.Scheduler$.submit(Scheduler.scala:54)
at com.twitter.util.ConstFuture.respond(Future.scala:870)
at com.twitter.util.Future.onFailure(Future.scala:677)
at com.terracottatech.wan.orch.BufferedClusterListener$1.process(BufferedClusterListener.java:86)
at com.terracottatech.wan.util.eventproc.BufferingEventProcessor$1.run(BufferingEventProcessor.java:111)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
 
Profile for aukidawe -> Messages posted by aukidawe [1]
Go to:   
Powered by JForum 2.1.7 © JForum Team