Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1410

Premature EOF when reading serialized checkpoint object.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      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)

        Attachments

          Activity

            People

            • Assignee:
              imaxon Ian Maxon
              Reporter:
              imaxon Ian Maxon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: