java.io.IOException: The accepted epoch, 1 is less than the current epoch, 2

Hot problem!
This exception has a lot of traffic. You can help 12 users by writing a short tip.

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Apache's JIRA Issue Tracker by Ramnatthan Alagappan, 1 year ago
The accepted epoch, 1 is less than the current epoch, 2
via Apache's JIRA Issue Tracker by Lasaro Camargos, 10 months ago
The current epoch, 3, is older than the last zxid, 17179871862
via Apache's JIRA Issue Tracker by Abraham Fine, 5 months ago
The current epoch, 0, is older than the last zxid, 4294967296
java.io.IOException: The accepted epoch, 1 is less than the current epoch, 2
at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:554)
at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:500)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:153)
at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.