zookeeper 无法启动

lol 发表于: 2019-06-17   最后更新时间: 2019-06-17  


您需要解锁本帖隐藏内容请: 点击这里
本帖隐藏的内容





发表于: 2月前   最后更新时间: 2月前   游览量:189
上一条: 1个kafka client 访问2个不同的有验证权限的kafka 服务,java.security.auth.login.config 该如何配置,以满足2个配置文件
下一条: storm-kafka-client 与 storm-kafka jar包区别

  • 完了,没别的了吗?

    • 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)