i modified /etc/hbase/conf/hbase-site.xml ,now it's work fine On Wed, Jun 26, 2013 at 4:49 PM, ch huang <[email protected]> wrote:
> i also test my hbase master node can not start, i change zookeeper client > port from 2181 to 2281 > > 2013-06-26 16:47:18,583 INFO org.apache.zookeeper.ZooKeeper: Client > environment:user.home=/var/run/hbase > 2013-06-26 16:47:18,583 INFO org.apache.zookeeper.ZooKeeper: Client > environment:user.dir=/root > 2013-06-26 16:47:18,584 INFO org.apache.zookeeper.ZooKeeper: Initiating > client connection, connectString=CH22:2181 sessionTimeout=180000 > watcher=master:60000 > 2013-06-26 16:47:18,594 INFO org.apache.zookeeper.ClientCnxn: Opening > socket connection to server CH22/0:0:0:0:0:0:0:1:2181 > 2013-06-26 16:47:18,599 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:47:19,631 INFO org.apache.zookeeper.ClientCnxn: Opening > socket connection to server CH22/192.168.10.22:2181 > 2013-06-26 16:47:19,632 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:47:21,385 INFO org.apache.zookeeper.ClientCnxn: Opening > socket connection to server CH22/0:0:0:0:0:0:0:1:2181 > 2013-06-26 16:47:21,385 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:47:22,378 INFO org.apache.zookeeper.ClientCnxn: Opening > socket connection to server CH22/192.168.10.22:2181 > 2013-06-26 16:47:22,379 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:47:24,097 INFO org.apache.zookeeper.ClientCnxn: Opening > socket connection to server CH22/0:0:0:0:0:0:0:1:2181 > 2013-06-26 16:47:24,097 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:47:24,441 INFO org.apache.zookeeper.ClientCnxn: Opening > socket connection to server CH22/192.168.10.22:2181 > 2013-06-26 16:47:24,442 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) > > > On Wed, Jun 26, 2013 at 4:38 PM, Devaraj k <[email protected]> wrote: > >> You need to update the jars in client side with the jars which server >> uses. **** >> >> ** ** >> >> Thanks**** >> >> Devaraj k**** >> >> ** ** >> >> *From:* ch huang [mailto:[email protected]] >> *Sent:* 26 June 2013 14:04 >> *To:* [email protected] >> *Subject:* eclipse connect problem in CDH3u4 Protocol >> ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch**** >> >> ** ** >> >> i already test eclispe connnect apache HDFS,is ok,**** >> >> but i connect CDH3u4 HDFS, it get error (i use same library)**** >> >> Protocol ora.apache.hadoop.hdfs.protocal.ClientProtocol version mismatch >> (client=61,server=63)**** >> > >
