zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Debraj Manna <subharaj.ma...@gmail.com>
Subject Re: The current epoch, 7, is older than the last zxid, 8589935882
Date Tue, 20 Aug 2019 11:13:38 GMT
Posted wrong Jira link. I meant
https://issues.apache.org/jira/browse/ZOOKEEPER-2354.  Can someone let me
know what is the recommended way to recover the node?

support@platform2:/var/lib/zookeeper/version-2$ sudo cat acceptedEpoch
8support@platform2:/var/lib/zookeeper/version-2$ sudo cat currentEpoch
7support@platform2:/var/lib/zookeeper/version-2$ sudo cat currentEpoch.tmp
8support@platform2

On Tue, Aug 20, 2019 at 3:14 PM Debraj Manna <subharaj.manna@gmail.com>
wrote:

> Hi
>
> I am using a zookeeper ensemble of 3 nodes running 3.4.13. Sometimes after
> reboot of machine zookeeper is not starting and I am seeing the below
> errors in logs.
>
> I have seen https://issues.apache.org/jira/browse/ZOOKEEPER-1653 . Can
> someone let me if this is fixed in 3.4.13 or not as I can see the issue
> still open? Also can somone suggest what is the recommended way to recover
> the set-up ?
>
> 2019-08-19 04:18:36,906 [myid:2] - ERROR [main:QuorumPeer@692] - Unable
> to load database on disk
> java.io.IOException: The current epoch, 7, is older than the last zxid,
> 34359738370
> at
> org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:674)
> 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)
> 2019-08-19 04:18:36,908 [myid:2] - 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: The current epoch, 7, is older than the
> last zxid, 34359738370
> at
> org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:674)
> ... 4 more----
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message