According to the following documentation
http://apacheignite.gridgain.org/v1.0/docs/executor-service
It says, "Your computations also become fault-tolerant and are guaranteed to
execute as long as there is at least one node left.".  

I ran the sample,
// Get cluster-enabled executor service.
ExecutorService exec = ignite.executorService();
 
// Iterate through all words in the sentence and create jobs.
for (final String word : "Print words using runnable".split(" ")) {
  // Execute runnable on some node.
  exec.submit(new IgniteRunnable() {
    @Override public void run() {
      System.out.println(">>> Printing '" + word + "' on this node from grid
job.");
    }
  });
}

Except I inserted sleep statements prior to printing out the message.  I
then executed it on a two node cluster and one node outputted
"Print","words" and the other node outputted "using","runnable" as expected. 
However I then ran it again, but killed the EC2 host the second node was
running on before the sleep time was up, in order to simulate node failure. 
I expected the first node to pick up outputting "using","runnable" but it
didn't.  So does that mean the computations aren't fault-tolerant?



--
View this message in context: 
http://apache-ignite-users.70518.x6.nabble.com/Computations-not-fault-tolerant-tp833.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.

Reply via email to