java.io.IOException: Could not load journal record. Invalid location: 8:17852084

JIRA | Wyatt Alt | 2 years ago
  1. 0

    Currently if you run PDB on master, then check out stable, clear your database, and run there, you hit an AMQ error on startup. This was a consequence of the clamq removal, and the solution is do delete your mq directory. We'll need to document this because the error will be surprising to users attempting a downgrade from 3.0: {code} 2015-04-23 14:18:45,583 ERROR [o.a.a.b.BrokerService] Failed to start ActiveMQ JMS Message Broker (localhost, null). Reason: java.io.IOException: Could not load journal record. Invalid location: 8:178520 84 java.io.IOException: Could not load journal record. Invalid location: 8:17852084 at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:935) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:532) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:367) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:424) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:240) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:180) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:54) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.start(KahaDBPersistenceAdapter.java:192) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.broker.BrokerService.start(BrokerService.java:525) ~[activemq-core-5.6.0.jar:5.6.0] at com.puppetlabs.mq$start_broker_BANG_.invoke(mq.clj:118) [na:na] at com.puppetlabs.mq$build_and_start_broker_BANG_.invoke(mq.clj:132) [na:na] {code}

    JIRA | 2 years ago | Wyatt Alt
    java.io.IOException: Could not load journal record. Invalid location: 8:17852084
  2. 0

    Currently if you run PDB on master, then check out stable, clear your database, and run there, you hit an AMQ error on startup. This was a consequence of the clamq removal, and the solution is do delete your mq directory. We'll need to document this because the error will be surprising to users attempting a downgrade from 3.0: {code} 2015-04-23 14:18:45,583 ERROR [o.a.a.b.BrokerService] Failed to start ActiveMQ JMS Message Broker (localhost, null). Reason: java.io.IOException: Could not load journal record. Invalid location: 8:178520 84 java.io.IOException: Could not load journal record. Invalid location: 8:17852084 at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:935) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:532) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:367) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:424) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:240) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:180) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:54) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.start(KahaDBPersistenceAdapter.java:192) ~[activemq-core-5.6.0.jar:5.6.0] at org.apache.activemq.broker.BrokerService.start(BrokerService.java:525) ~[activemq-core-5.6.0.jar:5.6.0] at com.puppetlabs.mq$start_broker_BANG_.invoke(mq.clj:118) [na:na] at com.puppetlabs.mq$build_and_start_broker_BANG_.invoke(mq.clj:132) [na:na] {code}

    JIRA | 2 years ago | Wyatt Alt
    java.io.IOException: Could not load journal record. Invalid location: 8:17852084
  3. 0
    Download the winutils.exe for your Hadoop version: https://github.com/steveloughran/winutils . Save it to HADOOP_HOME/bin
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    If you are using maven you'd like to exclude your binaries from filtering process.
  6. 0
    Bad input data (not properly separated)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Could not load journal record. Invalid location: 8:17852084

      at org.apache.activemq.store.kahadb.MessageDatabase.load()
    2. ActiveMQ :: KahaDB Store
      KahaDBStore.doStart
      1. org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:935)[activemq-core-5.6.0.jar:5.6.0]
      2. org.apache.activemq.store.kahadb.MessageDatabase.recover(MessageDatabase.java:532)[activemq-core-5.6.0.jar:5.6.0]
      3. org.apache.activemq.store.kahadb.MessageDatabase.open(MessageDatabase.java:367)[activemq-core-5.6.0.jar:5.6.0]
      4. org.apache.activemq.store.kahadb.MessageDatabase.load(MessageDatabase.java:424)[activemq-core-5.6.0.jar:5.6.0]
      5. org.apache.activemq.store.kahadb.MessageDatabase.doStart(MessageDatabase.java:240)[activemq-core-5.6.0.jar:5.6.0]
      6. org.apache.activemq.store.kahadb.KahaDBStore.doStart(KahaDBStore.java:180)[activemq-core-5.6.0.jar:5.6.0]
      6 frames
    3. ActiveMQ :: Broker
      ServiceSupport.start
      1. org.apache.activemq.util.ServiceSupport.start(ServiceSupport.java:54)[activemq-core-5.6.0.jar:5.6.0]
      1 frame
    4. ActiveMQ :: KahaDB Store
      KahaDBPersistenceAdapter.start
      1. org.apache.activemq.store.kahadb.KahaDBPersistenceAdapter.start(KahaDBPersistenceAdapter.java:192)[activemq-core-5.6.0.jar:5.6.0]
      1 frame
    5. ActiveMQ :: Broker
      BrokerService.start
      1. org.apache.activemq.broker.BrokerService.start(BrokerService.java:525)[activemq-core-5.6.0.jar:5.6.0]
      1 frame
    6. com.puppetlabs
      mq$build_and_start_broker_BANG_.invoke
      1. com.puppetlabs.mq$start_broker_BANG_.invoke(mq.clj:118)[na:na]
      2. com.puppetlabs.mq$build_and_start_broker_BANG_.invoke(mq.clj:132)[na:na]
      2 frames