Looks like localhost is somehow resolving to an IPv6 address. If this is not your intent (usually not recommended), then you can hint the JVM by adding -Djava.net.preferIPv4Stack=true to the HBASE_OPTS var in hbase-env.sh.
Norbert On Sun, May 27, 2012 at 5:43 PM, Dalia Sobhy <[email protected]>wrote: > > Hi, > I have a problem with Hbase master, although namenode, and job tracker are > working well. > 2012-05-27 09:13:27,587 INFO org.apache.zookeeper.ClientCnxn: Opening > socket connection to server localhost/0:0:0:0:0:0:0:1:21812012-05-27 > 09:13:27,588 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server > null, unexpected error, closing socket connection and attempting > reconnectjava.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:1143) > Although /etc/hosts: > 127.0.0.1 localhost > 10.0.2.3 namenode.dalia.com10.0.2.5 > datanode3.dalia.com10.0.2.6 datanode1.dalia.com10.0.2.7 > datanode2.dalia.com > > /etc/resolve.conf > nameserever 10.0.2.3 > So any info.??????
