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
