Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4493

ZK downgrade from 3.6.3 to 3.4.13 is not working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Bug
    • 3.4.13
    • None
    • None
    • None

    Description

      Hi Team,

      I have upgraded my zk cluster from 3.4.13 to 3.6.3 and it was successful. when i am trying to rollback from 3.6.3 to 3.4.13, i am facing some issues and it was not successful.

      Can someone help me on this issue?

       

      Logs:

      2022-02-10 12:50:37,532 [myid:3] - INFO [main:QuorumPeer@1178] - minSessionTimeout set to 4000
      2022-02-10 12:50:37,533 [myid:3] - INFO [main:QuorumPeer@1189] - maxSessionTimeout set to 40000
      2022-02-10 12:50:37,540 [myid:3] - INFO [main:QuorumPeer@1467] - QuorumPeer communication is not secured!
      2022-02-10 12:50:37,541 [myid:3] - INFO [main:QuorumPeer@1496] - quorum.cnxn.threads.size set to 20
      2022-02-10 12:50:37,551 [myid:3] - INFO [main:FileSnap@86] - Reading snapshot /zk/version-2/snapshot.18000000bd
      2022-02-10 12:50:37,641 [myid:3] - ERROR [main:QuorumPeer@692] - Unable to load database on disk
      java.io.IOException: Unsupported Txn with type=%d15
      at org.apache.zookeeper.server.util.SerializeUtils.deserializeTxn(SerializeUtils.java:89)
      at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.next(FileTxnLog.java:641)
      at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.init(FileTxnLog.java:556)
      at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.<init>(FileTxnLog.java:531)
      at org.apache.zookeeper.server.persistence.FileTxnLog.read(FileTxnLog.java:358)
      at org.apache.zookeeper.server.persistence.FileTxnSnapLog.fastForwardFromEdits(FileTxnSnapLog.java:193)
      at org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:176)
      at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:217)
      at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:645)
      at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:635)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:170)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:114)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:81)
      2022-02-10 12:50:37,643 [myid:3] - ERROR [main:QuorumPeerMain@92] - Unexpected exception, exiting abnormally
      java.lang.RuntimeException: Unable to run quorum server
      at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:693)
      at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:635)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:170)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:114)
      at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:81)
      Caused by: java.io.IOException: Unsupported Txn with type=%d15
      at org.apache.zookeeper.server.util.SerializeUtils.deserializeTxn(SerializeUtils.java:89)
      at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.next(FileTxnLog.java:641)
      at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.init(FileTxnLog.java:556)
      at org.apache.zookeeper.server.persistence.FileTxnLog$FileTxnIterator.<init>(FileTxnLog.java:531)
      at org.apache.zookeeper.server.persistence.FileTxnLog.read(FileTxnLog.java:358)
      at org.apache.zookeeper.server.persistence.FileTxnSnapLog.fastForwardFromEdits(FileTxnSnapLog.java:193)
      at org.apache.zookeeper.server.persistence.FileTxnSnapLog.restore(FileTxnSnapLog.java:176)
      at org.apache.zookeeper.server.ZKDatabase.loadDataBase(ZKDatabase.java:217)
      at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:645)

      Attachments

        Activity

          People

            Unassigned Unassigned
            dpkkumar01 Prem Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: