【已解决】Zookeeper启动报错:localhost:2181):ClientCnxn$SendThread@1162] - Session 0x0 for server null, u

        部署在阿里云服务器的Zookeeper服务连接本地服务出现这个错误。localhost:2181):ClientCnxn$SendThread@1162] - Session 0x0 for server null, u

主要原因是ZookeeperServer服务没起来。

使用以下命令启动服务端

zkServer.sh

然后启动客户端 

zkCli.sh

猜你喜欢

转载自blog.csdn.net/Sunshineoe/article/details/121197124