Unable to read additional data from client sessionid 0x0, likely client has closed socket
Unable to read additional data from client sessionid 0x0, likely client has closed socket1.有可能是因为zoo.cfg 中设置2000太小,设置成10000由于我在zoo.cfg中配置了3台机器,但是只启动了1台,zookeeper就会认为服务处于不可用状态。zookeeper有个选举算法,当整个...
·
Unable to read additional data from client sessionid 0x0, likely client has closed socket
1.有可能是因为zoo.cfg 中设置2000太小,设置成10000
由于我在zoo.cfg中配置了3台机器,但是只启动了1台,zookeeper就会认为服务处于不可用状态。
zookeeper有个选举算法,当整个集群超过半数机器宕机,zookeeper会认为集群处于不可用状态。
所有,3台机器只启动一台无法连接,如果启动2台及以上就可以连接了。
3.还有一个比较原因是因为:
防火墙未关闭,搞的查了非常久,
查看防火墙进行显示
显示防火墙状态:
systemctl status firewalld
关闭防火墙
systemctl stop firewalld
更多推荐
已为社区贡献1条内容
所有评论(0)