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.