2014-11-04 15:35:46,059 [myid:] - WARN [main-SendThread(127.0.0.1:2181):ClientC
nxn$SendThread@1089] - Session 0x0 for server null, unexpected error, closing so
cket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
NIO.java:350)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2014-11-04 15:35:47,161 [myid:] - INFO [main-SendThread(127.0.0.1:2181):ClientC
nxn$SendThread@966] - Opening socket connection to server 127.0.0.1/127.0.0.1:21
81. Will not attempt to authenticate using SASL (unknown error)
2014-11-04 15:35:48,163 [myid:] - WARN [main-SendThread(127.0.0.1:2181):ClientC
nxn$SendThread@1089] - Session 0x0 for server null, unexpected error, closing so
cket connection and attempting reconnect
java.net.ConnectException: Connection refused: no further information
at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocket
NIO.java:350)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
1 个解决方案
#1
为什么不在linux虚拟机上部署呢,建议还是安装在linux上吧
#1
为什么不在linux虚拟机上部署呢,建议还是安装在linux上吧