scp32 2017-08-30 13:12 采纳率: 25%
浏览 5159
已结题

有关zookeeper连接的问题

我是在eclipse上引用dubbo服务连接zookeeper时出现了问题,问题代码如下:
2017-08-30 20:44:22,156 [localhost-startStop-1] [org.apache.zookeeper.ClientCnxn]-[DEBUG] zookeeper.disableAutoWatchReset is false
2017-08-30 20:44:22,182 [localhost-startStop-1] [org.I0Itec.zkclient.ZkClient]-[DEBUG] Awaiting connection to Zookeeper server
2017-08-30 20:44:22,192 [localhost-startStop-1-SendThread(192.168.139.176:9090)] [org.apache.zookeeper.ClientCnxn]-[INFO] Opening socket connection to server 192.168.139.176/192.168.139.176:9090. Will not attempt to authenticate using SASL (unknown error)
2017-08-30 20:44:23,195 [localhost-startStop-1-SendThread(192.168.139.176:9090)] [org.apache.zookeeper.ClientCnxn]-[WARN] Session 0x0 for server null, unexpected error, closing socket 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(SocketChannelImpl.java:717)
at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)
2017-08-30 20:44:23,197 [localhost-startStop-1-SendThread(192.168.139.176:9090)] [org.apache.zookeeper.ClientCnxnSocketNIO]-[DEBUG] Ignoring exception during shutdown input
java.nio.channels.ClosedChannelException
at sun.nio.ch.SocketChannelImpl.shutdownInput(SocketChannelImpl.java:780)
at sun.nio.ch.SocketAdaptor.shutdownInput(SocketAdaptor.java:399)
at org.apache.zookeeper.ClientCnxnSocketNIO.cleanup(ClientCnxnSocketNIO.java:200)
at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:1246)
at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1170)
2017-08-30 20:44:23,197 [localhost-startStop-1-SendThread(192.168.139.176:9090)] [org.apache.zookeeper.ClientCnxnSocketNIO]-[DEBUG] Ignoring exception during shutdown output
之后就是无限循环最后那个异常。有没有大神能帮忙解决这个问题?

  • 写回答

3条回答 默认 最新

  • qq_43676722 2020-03-31 14:47
    关注

    怎么启动表现层?

    评论

报告相同问题?

悬赏问题

  • ¥15 fesafe材料库问题
  • ¥35 beats蓝牙耳机怎么查看日志
  • ¥15 Fluent齿轮搅油
  • ¥15 八爪鱼爬数据为什么自己停了
  • ¥15 交替优化波束形成和ris反射角使保密速率最大化
  • ¥15 树莓派与pix飞控通信
  • ¥15 自动转发微信群信息到另外一个微信群
  • ¥15 outlook无法配置成功
  • ¥30 这是哪个作者做的宝宝起名网站
  • ¥60 版本过低apk如何修改可以兼容新的安卓系统