hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Rawson <ryano...@gmail.com>
Subject Re: Hbase configuration
Date Sun, 12 Jul 2009 06:24:56 GMT
Hey,

You are wandering into problem territory.

HBase uses a series of location finding systems to determine their own
IP addresses, then publishes said IP to various finding services.  If
you have 2 IPs for a host, and sometimes you must use one, and
sometimes you must use another, depending on where the client is,
right now, native Java clients will not work for you.

Your best bet is to use the Thrift gateway, and connect to that.

Good luck!
-ryan


2009/7/11 Ján Horváth <horvath@b-ideas.eu>:
> I'm starting developing application using HBase and I have one
> pseudo-distributed server after NAT with prerouted ports.
> So my server IP is 192.168.1.10 and my router adress is 62.197.x.x There is
> a problem where I'm trying to connect with my application from outside.
>
> ...
> 09/07/11 16:52:29 INFO zookeeper.ClientCnxn: zookeeper.disableAutoWatchReset
> is false
> 09/07/11 16:52:29 INFO zookeeper.ClientCnxn: Attempting connection to server
> xxx.org/62.197.x.x:2181
> 09/07/11 16:52:29 INFO zookeeper.ClientCnxn: Priming connection to
> java.nio.channels.SocketChannel[connected local=/192.168.1.5:53739
> remote=xxx.org/62.197.x.x:2181]
> 09/07/11 16:52:29 INFO zookeeper.ClientCnxn: Server connection successful
> 09/07/11 16:52:50 INFO ipc.HBaseClient: Retrying connect to server:
> /192.168.1.10:43493. Already tried 0 time(s).
> 09/07/11 16:52:50 INFO ipc.HBaseClient: Retrying connect to server:
> /192.168.1.10:43493. Already tried 1 time(s).
> ...
>
> I can connect to my master node but I think that he tries to reconnect me to
> regionserver on 192.168.1.10. But I need to be reconnected to my outside IP
> 62.197.x.x because there are
> my prerouted ports. Is there some way how to solve this problem ? Maybe some
> configuration hacks or something else. Thank you for response.
>
>
>

Mime
View raw message