troubleshooting -zk 鎶ラ敊瑙e喅鏂规
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了troubleshooting -zk 鎶ラ敊瑙e喅鏂规相关的知识,希望对你有一定的参考价值。
鏍囩锛?a href='http://www.mamicode.com/so/1/img' title='img'>img
secure poc read binding load data not 鐩綍 java
zk鎶ラ敊
鍒嗘瀽闂鐨勬柟娉?銆?璧蜂笉鏉ユ湇鍔?/p>
鐒跺悗鍘籰og 鐩綍涓?鏌ョ湅zookeeper.out鐨勬棩蹇?/p>
涓€鑸斁鍦?tmp鐩綍涓嬫垨鑰?zk鐨刪ome鐩綍涓?
[root@hadoop103 ~]# tail -f -n 100 zookeeper.out
2020-06-23 04:24:01,764 [myid:] - INFO [main:QuorumPeerConfig@136] - Reading configuration from: /opt/module/zookeeper-3.4.12/bin/../conf/zoo.cfg
2020-06-23 04:24:01,784 [myid:] - INFO [main:QuorumPeer$QuorumServer@184] - Resolved hostname: hadoop103 to address: hadoop103/192.168.6.223
2020-06-23 04:24:01,785 [myid:] - INFO [main:QuorumPeer$QuorumServer@184] - Resolved hostname: hadoop102 to address: hadoop102/192.168.6.222
2020-06-23 04:24:01,785 [myid:] - INFO [main:QuorumPeer$QuorumServer@184] - Resolved hostname: hadoop104 to address: hadoop104/192.168.6.224
2020-06-23 04:24:01,785 [myid:] - INFO [main:QuorumPeerConfig@398] - Defaulting to majority quorums
2020-06-23 04:24:01,788 [myid:3] - INFO [main:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
2020-06-23 04:24:01,788 [myid:3] - INFO [main:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
2020-06-23 04:24:01,788 [myid:3] - INFO [main:DatadirCleanupManager@101] - Purge task is not scheduled.
2020-06-23 04:24:01,815 [myid:3] - INFO [main:QuorumPeerMain@130] - Starting quorum peer
2020-06-23 04:24:01,826 [myid:3] - INFO [main:ServerCnxnFactory@117] - Using org.apache.zookeeper.server.NioserverCnxnFactory as server connection factory
2020-06-23 04:24:01,831 [myid:3] - INFO [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:2181
2020-06-23 04:24:01,843 [myid:3] - INFO [main:QuorumPeer@1158] - tickTime set to 2000
2020-06-23 04:24:01,843 [myid:3] - INFO [main:QuorumPeer@1204] - initLimit set to 10
2020-06-23 04:24:01,843 [myid:3] - INFO [main:QuorumPeer@1178] - minSessionTimeout set to -1
2020-06-23 04:24:01,843 [myid:3] - INFO [main:QuorumPeer@1189] - maxSessionTimeout set to -1
2020-06-23 04:24:01,854 [myid:3] - INFO [main:QuorumPeer@1467] - QuorumPeer communication is not secured!
2020-06-23 04:24:01,856 [myid:3] - INFO [main:QuorumPeer@1496] - quorum.cnxn.threads.size set to 20
2020-06-23 04:24:01,874 [myid:3] - INFO [main:FileSnap@86] - Reading snapshot /opt/module/zookeeper-3.4.12/zkData/version-2/snapshot.8e00094e03
2020-06-23 04:24:03,174 [myid:3] - ERROR [main:Util@214] - Last transaction was partial.
2020-06-23 04:24:03,187 [myid:3] - ERROR [main:QuorumPeer@692] - Unable to load database on disk
java.io.IOException: The accepted epoch, 8e is less than the current epoch, 8f
at org.apache.zookeeper.server.quorum.QuorumPeer.loadDataBase(QuorumPeer.java:689)
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)
2020-06-23 04:24:03,188 [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
杩欎釜閿欒銆?/p>
[myid:3] - ERROR [main:QuorumPeer@692] - Unable to load database on disk
鎶婅繖涓獀ersion2鐨勬枃浠跺す鍒犳帀鍗冲彲.
以上是关于troubleshooting -zk 鎶ラ敊瑙e喅鏂规的主要内容,如果未能解决你的问题,请参考以下文章