无法从服务器 sessionid 0x0 读取附加数据,可能服务器已关闭套接字,正在关闭套接字连接并尝试重新连接

sam*_*oui 7 apache-zookeeper

我在zookeeper中配置了3台服务器,这是zoo.cfg

tickTime=2000
initLimit=10
syncLimit=5
dataDir=/home/Alternant/zookeeper/zk1Data
clientPort=2181
server.1=localhost:2888:3888
server.2=localhost:2889:3889
server.3=10.111.210.19:2888:3888
Run Code Online (Sandbox Code Playgroud)

当我尝试连接时出现此异常

 2020-01-31 14:33:51,041 [myid:localhost:2181] - INFO  [main-SendThread(localhost:2181):ClientCnxn$SendThread@959] - Socket connection established, initiating session, client: /0:0:0:0:0:0:0:1:50274, server: localhost/0:0:0:0:0:0:0:1:2181
Run Code Online (Sandbox Code Playgroud)

2020-01-31 14:33:51,042 [myid:localhost:2181] - 信息 [main-SendThread(localhost:2181):ClientCnxn$SendThread@1240] - 无法从服务器 sessionid 0x0 读取其他数据,可能服务器已关闭套接字,关闭套接字连接并尝试重新连接