Other than hbase-site.xml is there anything that I need to check to resolve
this issue

ERROR: org.apache.hadoop.hbase.ZooKeeperConnectionException: HBase is able
to connect to ZooKeeper but the connection closes immediately. This could be
a sign that the server has too many connections (30 is the default).
Consider inspecting your ZK server logs for that error and then make sure
you are reusing HBaseConfiguration as often as you can. See HTable's javadoc
for more information.

Client environment:user.dir=/scratch/sramesh/alpine1.0/zookeeper/bin
2012-03-07 11:03:37,055 - INFO  [main:ZooKeeper@373] - Initiating client
connection, connectString=localhost:2181 sessionTimeout=30000
watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@3dac2f9c
Welcome to ZooKeeper!
2012-03-07 11:03:37,070 - INFO 
[main-SendThread():ClientCnxn$SendThread@1041] - Opening socket connection
to server localhost/127.0.0.1:2181
2012-03-07 11:03:37,079 - WARN 
[main-SendThread(localhost:2181):ClientCnxn$SendThread@1161] - 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:567)
        at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)
JLine support is enabled
[zk: localhost:2181(CONNECTING) 0] 2012-03-07 11:03:38,446 - INFO 
[main-SendThread(localhost:2181):ClientCnxn$SendThread@1041] - Opening
socket connection to server localhost/127.0.0.1:2181
2012-03-07 11:03:38,447 - WARN 
[main-SendThread(localhost:2181):ClientCnxn$SendThread@1161] - 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:567)
        at
org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1119)



-- 
View this message in context: 
http://old.nabble.com/getting--zookeeper-client-connection-refused-tp33460261p33460261.html
Sent from the Hadoop core-user mailing list archive at Nabble.com.

Reply via email to