hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manuel de Ferran <manuel.defer...@gmail.com>
Subject Remote access to HBase
Date Wed, 02 Dec 2009 10:02:11 GMT
Greetings list,

we have a Hbase running on EC2, we configured it using ec2-hostname
which resolves internally to unroutable IPs. But we would like to
access hbase from remote using the java API.

>From EC2, we have the following output
hbase(main):001:0> zk_dump

HBase tree in ZooKeeper is rooted at /hbase
  Cluster up? true
  In safe mode? false
  Master address: 10.242.xxx.yyy:60000
  Region server holding ROOT: 10.242.xxx.yyy:60020
  Region servers:
    - 10.242.xxx.yyy:60020

And when we tried to connect using java we have the following error :
09/12/02 10:03:00 INFO zookeeper.ZooKeeper: Initiating client
connection, connectString=aws01.domain.com:2181 sessionTimeout=60000
watcher=org.apache.hadoop.hbase.client.HConnectionManager$ClientZKWatcher@74b23210
09/12/02 10:03:00 INFO zookeeper.ClientCnxn:
zookeeper.disableAutoWatchReset is false
09/12/02 10:03:00 INFO zookeeper.ClientCnxn: Attempting connection to
server aws01.domain.com/174.129.xxx.yyy:2181
09/12/02 10:03:00 INFO zookeeper.ClientCnxn: Priming connection to
java.nio.channels.SocketChannel[connected local=/192.168.1.200:50091
remote=aws01.domain.com/174.129.xxx.yyy:2181]
09/12/02 10:03:00 INFO zookeeper.ClientCnxn: Server connection successful
09/12/02 10:03:21 INFO ipc.HBaseClient: Retrying connect to server:
/10.242.xxx.yyy:60020. Already tried 0 time(s).

Is there a way to tell zookeeper to return hostnames instead of IP addresses ?


Thanks

Mime
View raw message