Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 6335 invoked from network); 12 Jul 2009 06:25:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Jul 2009 06:25:22 -0000 Received: (qmail 17138 invoked by uid 500); 12 Jul 2009 06:25:31 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 17056 invoked by uid 500); 12 Jul 2009 06:25:30 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 17038 invoked by uid 99); 12 Jul 2009 06:25:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2009 06:25:30 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ryanobjc@gmail.com designates 209.85.217.205 as permitted sender) Received: from [209.85.217.205] (HELO mail-gx0-f205.google.com) (209.85.217.205) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Jul 2009 06:25:17 +0000 Received: by gxk1 with SMTP id 1so1385695gxk.5 for ; Sat, 11 Jul 2009 23:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=DX7zuUZT7LdidHE6WN3LvxBekRlnJ3EO5P2TePbr0pc=; b=BSfGzUsj4ioXaWS/Wkpieo8UvOB1w8q5IMvBdWeDkJ4FJOWxHQReqkG4BeaolgICNz Dlhjkhy/2TyPvqYK+lvje/E07gZnxv94BDHboFSd+GB+Yi5IPkdpCKKGiXweDC8SvAxj viO5xY68lU/AMyjgqMHon47uLxW9QMzE/Vnew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=RqsYNsVawJZLLQpdVk1Br3hU/lc0WwwLN6mDumjpwSWClpCkfTL9w4gB1urI34MP4z U3zm4d28AUhJ0PoHREVhmTuS/8LxTTCtLO3xIMYZ5kScK1fPgmo30XUP1KaXtjpu5xcS Gxmsbl/QCPPHfZce0Mxc8mkGRa3B6uA6pTbTA= MIME-Version: 1.0 Received: by 10.151.26.19 with SMTP id d19mr5873857ybj.90.1247379896350; Sat, 11 Jul 2009 23:24:56 -0700 (PDT) In-Reply-To: <4A58B60C.9040703@b-ideas.eu> References: <4A58B60C.9040703@b-ideas.eu> Date: Sat, 11 Jul 2009 23:24:56 -0700 Message-ID: <78568af10907112324o133731a4n1b616ba17462ed14@mail.gmail.com> Subject: Re: Hbase configuration From: Ryan Rawson To: hbase-user@hadoop.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org 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=E1n Horv=E1th : > 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.disableAutoWatchRe= set > is false > 09/07/11 16:52:29 INFO zookeeper.ClientCnxn: Attempting connection to ser= ver > 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=3D/192.168.1.5:53739 > remote=3Dxxx.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 s= ome > configuration hacks or something else. Thank you for response. > > >