大数据,机器学习,人工智能大数据 爬虫Python AI Sql玩转大数据

关于- Opening socket connection to

2019-12-09  本文已影响0人  白天喝咖啡

java.net.ConnectException: 拒绝连接

at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)

at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)

at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)

at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)

2019-12-09 19:29:53,892 [myid:] - INFO  [main-SendThread(localhost:2181):ClientCnxn$SendThread@1032] - Opening socket connection  server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate using SASL (unknown error)

2019-12-09 19:29:53,893 [myid:] - WARN  [main-SendThread(localhost:2181):ClientCnxn$SendThread@1162] - Session 0x0 for server nul unexpected error, closing socket connection and attempting reconnect


这个错误我查了好久,后来发现是没有执行bin/zkServer.sh start,启动zookeeper.

然后就启动客户端了bin/zkCli.sh

上一篇下一篇

猜你喜欢

热点阅读