hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sindy <sindyban...@gmail.com>
Subject "connectString" to point to the server instead of "localhost"
Date Mon, 02 Aug 2010 05:32:29 GMT
Hi,

I have one master , one slave

now I 'm writting Java programme in eclipse on the third pc to connect
the Hbase.


10/08/02 12:40:33 INFO zookeeper.ClientCnxn: Attempting connection to
server localhost/127.0.0.1:2181
10/08/02 12:40:34 WARN zookeeper.ClientCnxn: Exception closing session
0x0 to sun.nio.ch.SelectionKeyImpl@2c84d9
java.net.ConnectException: Connection refused: no further information
	at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)
	at sun.nio.ch.SocketChannelImpl.finishConnect(Unknown Source)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:933)
10/08/02 12:40:34 WARN zookeeper.ClientCnxn: Ignoring exception during
shutdown input
java.nio.channels.ClosedChannelException
	at sun.nio.ch.SocketChannelImpl.shutdownInput(Unknown Source)
	at sun.nio.ch.SocketAdaptor.shutdownInput(Unknown Source)
	at org.apache.zookeeper.ClientCnxn$SendThread.cleanup(ClientCnxn.java:999)
	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:970)
10/08/02 12:40:34 WARN zookeeper.ClientCnxn: Ignoring exception during
shutdown output
java.nio.channels.ClosedChannelException


connectString=localhost:2181 sessionTimeout=60000
watcher=org.apache.hadoop.hbase.client.HConnectionManager$ClientZKWatcher@82c01f
how can do to  tells the  "connectString" to point to the server
instead of "localhost".




Thanks :)
Sindy

Mime
View raw message