Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
Description
I encountered this when helping someone out with the ADM/AQL101 demo. It apparently happened after a power-failure type of scenario (VM rebooted uncleanly), but nothing was actually loaded outside of the metadata of course.
The stack is this:
org.apache.asterix.common.exceptions.ACIDException: Failed to read a checkpoint file
at org.apache.asterix.transaction.management.service.recovery.RecoveryManager.readCheckpoint(RecoveryManager.java:609)
at org.apache.asterix.transaction.management.service.recovery.RecoveryManager.getSystemState(RecoveryManager.java:132)
at org.apache.asterix.api.common.AsterixAppRuntimeContext.initialize(AsterixAppRuntimeContext.java:182)
at org.apache.asterix.hyracks.bootstrap.NCApplicationEntryPoint.start(NCApplicationEntryPoint.java:108)
at org.apache.hyracks.control.nc.NodeControllerService.startApplication(NodeControllerService.java:326)
at org.apache.hyracks.control.nc.NodeControllerService.start(NodeControllerService.java:259)
at org.apache.hyracks.control.nc.NCDriver.main(NCDriver.java:48)
Caused by: java.io.EOFException
at java.io.ObjectInputStream$PeekInputStream.readFully(ObjectInputStream.java:2335)
at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2804)
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:802)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:299)
at org.apache.asterix.transaction.management.service.recovery.RecoveryManager.readCheckpoint(RecoveryManager.java:605)