FATAL: Fatal exception while rejoining after failure
Sep 19, 2013
Hi
I'm trying to emulate node recovery after failure
I use example/voter database
Kfactor is 1
There are 2 nodes
Initial config: two nodes
asynch-benchmark started on node 1
Then I kill node 2
benchmark continues on node 1, some missing transactions but continues to work
Then I try to recover node 2 and get following error:
last entry from log before crash is:
I also noted that host id on the node 2 is increased each time I try to rejoin. Is it normal? Shouldn't it be the same every time?
Deployment file is:
I'm trying to emulate node recovery after failure
I use example/voter database
Kfactor is 1
There are 2 nodes
Initial config: two nodes
asynch-benchmark started on node 1
Then I kill node 2
benchmark continues on node 1, some missing transactions but continues to work
Then I try to recover node 2 and get following error:
Host id of this node is: 5
FATAL: Index: 0, Size: 0
FATAL: Fatal exception
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:547)
at java.util.ArrayList.get(ArrayList.java:322)
at org.voltdb.RealVoltDB.initialize(RealVoltDB.java:487)
at org.voltdb.VoltDB.initialize(VoltDB.java:886)
at org.voltdb.VoltDB.main(VoltDB.java:870)
VoltDB has encountered an unrecoverable error and is exiting.
last entry from log before crash is:
2013-09-19 21:24:50,496 INFO [LeaderCache] HOST: Mailbox is not registered for site id -4
I also noted that host id on the node 2 is increased each time I try to rejoin. Is it normal? Shouldn't it be the same every time?
Deployment file is:
<?xml version="1.0"?>
<deployment>
<cluster hostcount="2" sitesperhost="4" kfactor="1" />
<httpd enabled="true">
<jsonapi enabled="true" />
</httpd>
</deployment>