zookeeper启动后没有相关进程

查看状态报错,报错,百度硕士nc问题,让看.out文件,但是这哥文件是空的,那就看log

016-12-15 14:08:19,355 [myid:] - INFO  [main:QuorumPeer$QuorumServer@149] - Resolved hostname: StandByNameNode to address: StandByNameNode/192.168.58.183
2016-12-15 14:08:19,356 [myid:] - INFO  [main:QuorumPeer$QuorumServer@149] - Resolved hostname: CentOSMaster to address: CentOSMaster/192.168.58.180
2016-12-15 14:08:19,356 [myid:] - INFO  [main:QuorumPeerConfig@352] - Defaulting to majority quorums
2016-12-15 14:08:19,362 [myid:0] - INFO  [main:DatadirCleanupManager@78] - autopurge.snapRetainCount set to 3
2016-12-15 14:08:19,362 [myid:0] - INFO  [main:DatadirCleanupManager@79] - autopurge.purgeInterval set to 0
2016-12-15 14:08:19,362 [myid:0] - INFO  [main:DatadirCleanupManager@101] - Purge task is not scheduled.
2016-12-15 14:08:19,385 [myid:0] - INFO  [main:QuorumPeerMain@127] - Starting quorum peer
2016-12-15 14:08:19,398 [myid:0] - INFO  [main:NIOServerCnxnFactory@89] - binding to port 0.0.0.0/0.0.0.0:2181
2016-12-15 14:08:19,406 [myid:0] - INFO  [main:QuorumPeer@1019] - tickTime set to 2000
2016-12-15 14:08:19,407 [myid:0] - INFO  [main:QuorumPeer@1039] - minSessionTimeout set to -1
2016-12-15 14:08:19,407 [myid:0] - INFO  [main:QuorumPeer@1050] - maxSessionTimeout set to -1
2016-12-15 14:08:19,408 [myid:0] - INFO  [main:QuorumPeer@1065] - initLimit set to 10
2016-12-15 14:08:19,423 [myid:0] - ERROR [main:QuorumPeer@231] - Setting LearnerType to PARTICIPANT but 0 not in QuorumPeers. 
2016-12-15 14:08:19,428 [myid:0] - INFO  [main:FileSnap@83] - Reading snapshot /home/hxsyl/Spark_Relvant/zookeeper/version-2/snapshot.1400000002
2016-12-15 14:08:19,464 [myid:0] - ERROR [main:QuorumPeerMain@89] - Unexpected exception, exiting abnormally
java.lang.RuntimeException: My id 0 not in the peer list
	at org.apache.zookeeper.server.quorum.QuorumPeer.startLeaderElection(QuorumPeer.java:583)
	at org.apache.zookeeper.server.quorum.QuorumPeer.start(QuorumPeer.java:502)
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.runFromConfig(QuorumPeerMain.java:153)
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.initializeAndRun(QuorumPeerMain.java:111)
	at org.apache.zookeeper.server.quorum.QuorumPeerMain.main(QuorumPeerMain.java:78)

  查看信息发现时myid0,我记得是1啊,所以改了吧,fuck,到现在才发现。发现其他节点的myid也是0,咋回事,以前没问题的,一一改吧

zookeeper启动后没有相关进程_第1张图片

你可能感兴趣的:(zookeeper启动后没有相关进程)