zookeeper问题:关于Unable to read additional data from server sessionid 0x0问题的解决
报错信息:
2019-11-07 18:34:38,015 [myid:] - INFO [main-SendThread(172.0.0.1:2181):ClientCnxn$SendThread@1158] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-07 18:34:39,321 [myid:] - INFO [main-SendThread(172.0.0.1:2181):ClientCnxn$SendThread@1032] - Opening socket connection to server 172.0.0.1:2181 Will not attempt to authenticate using SASL (unknown error)
2019-11-07 18:34:39,322 [myid:] - INFO [main-SendThread(172.0.0.1:2181):ClientCnxn$SendThread@876] - Socket connection established to 172.0.0.1:2181 initiating session
2019-11-07 18:34:39,322 [myid:] - INFO [main-SendThread(172.0.0.1:2181):ClientCnxn$SendThread@1158] - Unable to read additional data from server sessionid 0x0, likely server has closed socket, closing socket connection and attempting reconnect
2019-11-07 18:34:40,933 [myid:] - INFO [main-SendThread(172.0.0.1:2181):ClientCnxn$SendThread@1032] - Opening socket connection to server 172.0.0.1:2181 Will not attempt to authenticate using SASL (unknown error)
2019-11-07 18:34:40,934 [myid:] - INFO [main-SendThread(172.0.0.1:2181):ClientCnxn$SendThread@876] - Socket connection established to 172.0.0.1:2181, initiating session
报错原因:
主机降配重启后出现
解决方法:
重启下zookeeper leader