zookeeper Client Session 0x0 for server null解决办法

2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:java.library.path=/home/hadoop/hadoop-1.1.2/libexec/../lib/native/Linux-amd64-64
2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:java.io.tmpdir=/tmp
2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:java.compiler=<NA>
2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:os.name=Linux
2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:os.arch=amd64
2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:os.version=2.6.32-279.el6.x86_64
2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:user.name=hadoop
2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:user.home=/home/hadoop
2013-12-18 09:22:56,884 INFO  [main] zookeeper.ZooKeeper: Client environment:user.dir=/home/hadoop/hbase-0.96.1-hadoop1/bin
2013-12-18 09:22:56,885 INFO  [main] zookeeper.ZooKeeper: Initiating client connection, connectString=localhost:2181 sessionTimeout=90000 watcher=master:60000, quorum=localhost:2181, baseZNod
e=/hbase
2013-12-18 09:22:56,921 INFO  [main] zookeeper.RecoverableZooKeeper: Process identifier=master:60000 connecting to ZooKeeper ensemble=localhost:2181
2013-12-18 09:22:56,957 INFO  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Opening socket connection to server localhost/0:0:0:0:0:0:0:1:2181. Will not attempt to authenticate usin
g SASL (unknown error)
2013-12-18 09:22:57,008 WARN  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1068)
2013-12-18 09:22:57,132 INFO  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:2181. Will not attempt to authenticate using SASL
 (unknown error)
2013-12-18 09:22:57,134 WARN  [main-SendThread(localhost:2181)] zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused
        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:735)
        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:350)

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


用独立安装的zookeeper报错。调试了半天原来是得先启动zookeeper在启动hbase。



  • 2
    点赞
  • 4
    评论
  • 0
    收藏
  • 一键三连
    一键三连
  • 扫一扫,分享海报

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、C币套餐、付费专栏及课程。

余额充值