zookeeper 无法启动

lol 发表于: 2019-06-17   最后更新时间: 2019-06-17 17:10:37   4,042 游览
发表于 2019-06-17
lol
添加评论

完了,没别的了吗?

小鱼杰杰 -> 半兽人 5年前

2019-06-18 18:16:13,565 [myid:2] - ERROR [LearnerHandler-/10.144.100.176:49793:LearnerHandler@648] - Unexpected exception causing shutdown while sock still open
java.io.IOException: Unreasonable length = 774966538
at org.apache.jute.BinaryInputArchive.checkLength(BinaryInputArchive.java:127)
at org.apache.jute.BinaryInputArchive.readBuffer(BinaryInputArchive.java:92)
at org.apache.zookeeper.server.quorum.QuorumPacket.deserialize(QuorumPacket.java:85)
at org.apache.jute.BinaryInputArchive.readRecord(BinaryInputArchive.java:99)
at org.apache.zookeeper.server.quorum.LearnerHandler.run(LearnerHandler.java:325)
2019-06-18 18:16:13,566 [myid:2] - WARN [LearnerHandler-/10.144.100.176:49793:LearnerHandler@661] - * GOODBYE /10.144.100.176:49793 **
2019-06-18 18:16:13,576 [myid:2] - INFO [node2/10.144.100.176:3888:QuorumCnxManager$Listener@746] - Received connection request /10.144.100.176:53253
2019-06-18 18:16:13,577 [myid:2] - WARN [RecvWorker:5135603447292250196:QuorumCnxManager$RecvWorker@1028] - Connection broken for id 5135603447292250196, my id = 2, error =
java.io.IOException: Received packet with invalid packet: 1414541105
at org.apache.zookeeper.server.quorum.QuorumCnxManager$RecvWorker.run(QuorumCnxManager.java:1015)
2019-06-18 18:16:13,578 [myid:2] - WARN [RecvWorker:5135603447292250196:QuorumCnxManager$RecvWorker@1031] - Interrupting SendWorker
2019-06-18 18:16:13,581 [myid:2] - WARN [SendWorker:5135603447292250196:QuorumCnxManager$SendWorker@944] - Interrupted while waiting for message on queue
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:418)
at org.apache.zookeeper.server.quorum.QuorumCnxManager.pollSendQueue(QuorumCnxManager.java:1097)
at org.apache.zookeeper.server.quorum.QuorumCnxManager.access$700(QuorumCnxManager.java:74)
at org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:932)
2019-06-18 18:16:13,581 [myid:2] - WARN [SendWorker:5135603447292250196:QuorumCnxManager$SendWorker@954] - Send worker leaving thread

可以启动,也有主从关系,这个影响kafka数据吗?怎么解决

zkServer.sh 新增-Djute.maxbuffer配置 774966538没用

我换了另一个jdk解决了部分
onnection broken for id 5135603447292250196, my id = 1, error =
java.io.IOException: Received packet with invalid packet: 1414541105
at org.apache.zookeeper.server.quorum.QuorumCnxManager$RecvWorker.run(QuorumCnxManager.java:1015)
2019-06-19 10:41:51,290 [myid:1] - WARN [RecvWorker:5135603447292250196:QuorumCnxManager$RecvWorker@1031] - Interrupting SendWorker
2019-06-19 10:41:51,292 [myid:1] - WARN [SendWorker:5135603447292250196:QuorumCnxManager$SendWorker@944] - Interrupted while waiting for message on queue
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2014)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2088)
at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:418)
at org.apache.zookeeper.server.quorum.QuorumCnxManager.pollSendQueue(QuorumCnxManager.java:1097)
at org.apache.zookeeper.server.quorum.QuorumCnxManager.access$700(QuorumCnxManager.java:74)
at org.apache.zookeeper.server.quorum.QuorumCnxManager$SendWorker.run(QuorumCnxManager.java:932)

半兽人 -> 小鱼杰杰 5年前

这是在选举的提示。

你的答案

查看kafka相关的其他问题或提一个您自己的问题