zookeeper java.io.IOException: Leaders epoch, 1 is less than accepted epoch, 3

java.io.IOException: Leaders epoch, 1 is less than accepted epoch, 3
at org.apache.zookeeper.server.quorum.Learner.registerWithLeader(Learner.java:297)
at org.apache.zookeeper.server.quorum.Follower.followLeader(Follower.java:73)
at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:982)
2020-05-07 10:06:18,574 [myid:3] - INFO [QuorumPeer[myid=3]/0:0:0:0:0:0:0:0:2183:Follower@169] - shutdown called
java.lang.Exception: shutdown Follower
at org.apache.zookeeper.server.quorum.Follower.shutdown(Follower.java:169)
at org.apache.zookeeper.server.quorum.QuorumPeer.run(QuorumPeer.java:986)

删除 /data/zk3/data/version_* 文件
然后重新启动

你可能感兴趣的:(zookeeper)