bin/zkCli.sh -server 106.75.103.157:2181
2022-03-22 23:17:49,464 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1028] - Opening socket connection to server 106.75.103.157/106.75.103.157:2181. Will not attempt to authenticate using SASL (unknown error)
2022-03-22 23:18:19,494 [myid:] - WARN [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1111] - Client session timed out, have not heard from server in 31030ms for sessionid 0x0
2022-03-22 23:18:19,494 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1159] - Client session timed out, have not heard from server in 31030ms for sessionid 0x0, closing socket connection and attempting reconnect
2022-03-22 23:18:20,595 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1028] - Opening socket connection to server 106.75.103.157/106.75.103.157:2181. Will not attempt to authenticate using SASL (unknown error)
2022-03-22 23:18:50,617 [myid:] - WARN [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1111] - Client session timed out, have not heard from server in 31022ms for sessionid 0x0
2022-03-22 23:18:50,617 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1159] - Client session timed out, have not heard from server in 31022ms for sessionid 0x0, closing socket connection and attempting reconnect
2022-03-22 23:18:51,718 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1028] - Opening socket connection to server 106.75.103.157/106.75.103.157:2181. Will not attempt to authenticate using SASL (unknown error)
2022-03-22 23:19:21,720 [myid:] - WARN [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1111] - Client session timed out, have not heard from server in 31002ms for sessionid 0x0
2022-03-22 23:19:21,720 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1159] - Client session timed out, have not heard from server in 31002ms for sessionid 0x0, closing socket connection and attempting reconnect
2022-03-22 23:19:22,821 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1028] - Opening socket connection to server 106.75.103.157/106.75.103.157:2181. Will not attempt to authenticate using SASL (unknown error)
2022-03-22 23:19:52,845 [myid:] - WARN [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1111] - Client session timed out, have not heard from server in 31024ms for sessionid 0x0
2022-03-22 23:19:52,845 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1159] - Client session timed out, have not heard from server in 31024ms for sessionid 0x0, closing socket connection and attempting reconnect
2022-03-22 23:19:53,946 [myid:] - INFO [main-SendThread(106.75.103.157:2181):ClientCnxn$SendThread@1028] - Opening socket connection to server 106.75.103.157/106.75.103.157:2181. Will not attempt to authenticate using SASL (unknown error)
求正确启动
Zkserver有没有启动。
配置的应该是单节点的zookeeper吧,先bin/zkServer.sh status 看一下服务的状态,应该是没有启动,如果搭建的是集群的话,记得启动半数以上的节点。
您好,我是有问必答小助手,您的问题已经有小伙伴帮您解答,感谢您对有问必答的支持与关注!