You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hadoop.apache.org by Brahma Reddy Battula <br...@huawei.com> on 2013/06/27 04:02:34 UTC

RE: region server can not start(Might be configration problem)

RS is trying to connect to the Zookeepr with 2181,But ZK is running with 2281 port..Hence it's not able to connect.So you need to change port in configuration..



Please check configuration hbase.zookeeper.quroum in hbase-site.xml.





________________________________
From: ch huang [justlooks@gmail.com]
Sent: Wednesday, June 26, 2013 4:59 PM
To: user@hadoop.apache.org
Subject: region server can not start

i change zookeeper port from 2181 to 2281 , region server can not start

2013-06-26 16:57:00,003 INFO org.apache.zookeeper.ZooKeeper: Initiating client connection, connectString=CH22:2181 sessionTimeout=180000 watcher=regionserver:60020
2013-06-26 16:57:00,030 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181<http://192.168.10.22:2181>
2013-06-26 16:57:00,039 WARN org.apache.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:599)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143)
2013-06-26 16:57:00,254 INFO org.apache.hadoop.hbase.regionserver.ShutdownHook: Installed shutdown hook thread: Shutdownhook:regionserver60020
2013-06-26 16:57:01,765 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181<http://192.168.10.22:2181>
2013-06-26 16:57:01,767 WARN org.apache.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:599)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143)
2013-06-26 16:57:03,505 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181<http://192.168.10.22:2181>
2013-06-26 16:57:03,506 WARN org.apache.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:599)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143)
2013-06-26 16:57:05,323 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181<http://192.168.10.22:2181>
2013-06-26 16:57:05,324 WARN org.apache.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:599)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143)
2013-06-26 16:57:06,770 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181<http://192.168.10.22:2181>
2013-06-26 16:57:06,771 WARN org.apache.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:599)
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1143)
2013-06-26 16:57:08,824 INFO org.apache.zookeeper.ClientCnxn: Opening socket connection to server CH22/192.168.10.22:2181<http://192.168.10.22:2181>
2013-06-26 16:57:08,825 WARN org.apache.zookeeper.ClientCnxn: Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect
java.net.ConnectException: Connection refused