java.io.IOException: Transaction log: /mnt/data/zookeeper/version-2/log.d0f357a0f has invalid magic number 0 != 1514884167

grokbase.com | 8 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    [ZooKeeper-user] New Instance can't sync - Grokbase

    grokbase.com | 8 months ago
    java.io.IOException: Transaction log: /mnt/data/zookeeper/version-2/log.d0f357a0f has invalid magic number 0 != 1514884167
  2. 0

    zookeeper-user - Transaction logs and snapshots

    nabble.com | 1 year ago
    java.io.IOException: Failed to process transaction type: 1 error: KeeperErrorCode = NoNode for /BOSS/ICS_O_182041092_581017710_180121007/_xlock

    Root Cause Analysis

    1. java.io.IOException

      Transaction log: /mnt/data/zookeeper/version-2/log.d0f357a0f has invalid magic number 0 != 1514884167

      at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamCreated()
    2. Zookeeper
      QuorumPeer.run
      1. org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.inStreamCreated(FileTxnLog.java:510)
      2. org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.createInputArchive(FileTxnLog.java:527)
      3. org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.goToNextLog(FileTxnLog.java:493)
      4. org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.init(FileTxnLog.java:475)
      5. org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.<init>(FileTxnLog.java:325)
      6. org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:126)
      7. org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:222)
      8. org.apache.zookeeper.server.quorum.QuorumPeer.getLastLoggedZxid(QuorumPeer.java:493)
      9. org.apache.zookeeper.server.quorum.Learner.registerWithLeader(Learner.java:255)
      10. org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:66)
      11. org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:645)
      11 frames