EndOfStreamException: Unable to read additional data from server sessionid 0x0, likely server has closed socket
解决方法:
1.假如在zookeeper的配置文件zoo.cfg中配置了三台节点集群那么只要有任意一台服务没启动,客户端连接时就会报这个错误。
2.myid中的数字和zoo.cfg配置的不一一对应
EndOfStreamException: Unable to read additional data from server sessionid 0x0, likely server has closed socket
解决方法:
1.假如在zookeeper的配置文件zoo.cfg中配置了三台节点集群那么只要有任意一台服务没启动,客户端连接时就会报这个错误。
2.myid中的数字和zoo.cfg配置的不一一对应
有建议,请留言!