zook 报错 Unable to read additional data from server sessionid 0x0
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了zook 报错 Unable to read additional data from server sessionid 0x0相关的知识,希望对你有一定的参考价值。
zook报错启动报错:
2017-09-25 18:33:46,913 - INFO [main-SendThread(localhost:2181):[email protected]] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
问题排查:
配置的超时时间太短,Zookeeper没有读完Consumer的数据,连接就被Consumer断开了!
其中有一个进程启动后不久就自己挂掉了。
查看发现
zook2/data/myid中的值与zook2/conf/zoo.cfg中的值不一样
server.1=localhost:2287:3387
server.2=localhost:2288:3388
server.3=localhost:2289:3389
~~~~~~~~~~~~~~~~~~~
配置为一样之后,问题解决。
以上是关于zook 报错 Unable to read additional data from server sessionid 0x0的主要内容,如果未能解决你的问题,请参考以下文章
升级jenkins之后无法启动 报错Unable to read /var/lib/jenkins/config.xml
Java-jxl插件Excel文件读写报错jxl.read.biff.BiffException: Unable to recognize OLE stream
Java-jxl插件Excel文件读写报错jxl.read.biff.BiffException: Unable to recognize OLE stream
[Hive] - Beeline 偶发 Unable to read HiveServer2 uri from ZooKeeper 问题