Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4CE1C4051 for ; Tue, 5 Jul 2011 14:00:42 +0000 (UTC) Received: (qmail 85341 invoked by uid 500); 5 Jul 2011 14:00:40 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 85103 invoked by uid 500); 5 Jul 2011 14:00:39 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 85095 invoked by uid 99); 5 Jul 2011 14:00:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Jul 2011 14:00:39 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [77.238.189.215] (HELO nm18-vm0.bullet.mail.ird.yahoo.com) (77.238.189.215) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 05 Jul 2011 14:00:30 +0000 Received: from [77.238.189.54] by nm18.bullet.mail.ird.yahoo.com with NNFMP; 05 Jul 2011 14:00:07 -0000 Received: from [212.82.108.236] by tm7.bullet.mail.ird.yahoo.com with NNFMP; 05 Jul 2011 14:00:07 -0000 Received: from [127.0.0.1] by omp1001.mail.ird.yahoo.com with NNFMP; 05 Jul 2011 14:00:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 295758.21312.bm@omp1001.mail.ird.yahoo.com Received: (qmail 24520 invoked by uid 60001); 5 Jul 2011 14:00:06 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1309874406; bh=lQPKcJ4qCNyEjpLJik0JtJ5P5SFfPTYtppSh+0Z9Igk=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=6l7OngMzbK5kgiygX+Mj3dhwh/lcjhD9PyI/3kjJGSLodFfeKBiSafkSpXCkdMXI04Cau7i7Eu1XsYdKWmP2EkZ0nRp+SMdhgECSGuiJOeZM/C/pgYWDThVIRqtkJceBY8vHMrky/90mpsHBowP7lir8KRi9t9EhgKLOlUmDOC8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=fa7kPBbLpF1lXtceEvT3meeP3EdhZcMlsYpRBLOW0EAhQw8RFoyPAi2tdZ/S2ZjxFrY1F31luLJRvlHSlDU/GcK08prtq3aMaBTGS0L3yKgJDNIR+ZEPWT1H12QMJJvHNGw25/zG1unbJ2xnELqzeF5RTLyHoINu8CBB3+LrE6w=; X-YMail-OSG: Qxt5XJkVM1lXNufWjEGB6YUWXnA0QnKX4IKMe_eDjjM6ZPT iyGLcM30Gj2jOoHJ0u5mibFHX3CYfixG1pnqVgnHTMcyQ52llk9Qa1jiEZvA 6SZTPOQ.RxgH_.TDszGr0Es6jafh1Z57EYS.6IktqPFtnyW89wFjCR5d2K09 gjrPgvywsGYAOYThUgl85eZxaLE_h8XtDb0PUd6XvCU3oQoHx66vx6yd7e8l o5lohkWjVAaMsTnPLF3nQZRTn03iHpuicq0l6Th2UIDOYwg41zml6.D.FU8f EJJasdnInL63mn3c6OcpXg5sSeMdv6LcxPDGXdCa7KofvHJ72JJibRfN82iU M5t6wMuOt3qzxQZ.5AWTIGoxkY4a3_7l39z4_URKEYdbpstf_0u7G9z8ptqq JMrQOfEf.QXw3hI9JeF4gSpZnbdupXDlNbRTHMVY1NY0jWjuQZtDNwGQwz31 RsWBh2W1o9juQktjYP6IhA20RLNezICeKuDUzkvMH9nIPNlm2cDypF_g- Received: from [194.138.12.171] by web29218.mail.ird.yahoo.com via HTTP; Tue, 05 Jul 2011 15:00:05 BST X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.307740 Message-ID: <1309874405.13795.YahooMailClassic@web29218.mail.ird.yahoo.com> Date: Tue, 5 Jul 2011 15:00:05 +0100 (BST) From: Florin P Subject: Re: zookeeper connection issue - distributed mode To: user@hbase.apache.org, devushanker@gmail.com In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello!=0A=0AThe property hbase.zookeeper.quorum is taken from hbase-site.xm= l on =0A=0Athe HBase master machine. =0A taken from Hbase master hbase-si= te.xml=0A=09=09=0A=09=09 hbase.zookeeper.quorum=0A= =09=09=0A=09=09=0A=0AFor me, it= worked.=0A Success,=0A Florin=0A=0A--- On Tue, 7/5/11, devush wrote:=0A=0A> From: devush =0A> Subject= : zookeeper connection issue - distributed mode=0A> To: user@hbase.apache.o= rg=0A> Date: Tuesday, July 5, 2011, 5:44 AM=0A> Hi,=0A> =0A> i have followi= ng environment - hbase-0.90.1-cdh3u0 on=0A> ubuntu.=0A> =0A> I have followi= ng code for the distributed mode and i am=0A> calling this=0A> java code fr= om remote client:=0A> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 H= BaseConfiguration config =3D new=0A> HBaseConfiguration();=0A> =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0=0A> =A0 =A0 =A0 =A0 config.clear();=0A> =A0=A0=A0 =A0= =A0=A0 =A0=A0=A0=0A> config.set("hbase.zookeeper.quorum", "ults01");=0A> = =A0=A0=A0 =A0=A0=A0 =A0=A0=A0=0A> config.set("hbase.zookeeper.property.clie= ntPort", "2181");=0A> =0A> and I get following log:=0A> 11/07/05 03:33:03 I= NFO zookeeper.ZooKeeper: Client=0A> environment:zookeeper.version=3D3.3.2-1= 031432, built on=0A> 11/05/2010 05:32=0A> GMT=0A> 11/07/05 03:33:03 INFO zo= okeeper.ZooKeeper: Client=0A> environment:host.name=3D192.168.1.64=0A> ...= =0A> 11/07/05 03:21:32 INFO zookeeper.ZooKeeper: Initiating=0A> client=0A> = connection, connectString=3Dults01:2181=0A> sessionTimeout=3D180000=0A> wat= cher=3Dhconnection=0A> 11/07/05 03:21:32 INFO zookeeper.ClientCnxn: Opening= socket=0A> connection=0A> to server ults01/192.168.22.133:2181=0A> 11/07/0= 5 03:21:32 INFO zookeeper.ClientCnxn: Socket=0A> connection=0A> established= to ults01/192.168.22.133:2181, initiating=0A> session=0A> 11/07/05 03:21:3= 2 INFO zookeeper.ClientCnxn: Session=0A> establishment=0A> complete on serv= er ults01/192.168.22.133:2181, sessionid =3D=0A> 0x130f352453f0027, negotia= ted timeout =3D 40000=0A> 11/07/05 03:21:32 INFO ipc.HbaseRPC: Server at=0A= > localhost/127.0.0.1:60020 could not be reached after 1=0A> tries, giving= =0A> up.=0A> 11/07/05 03:21:33 INFO ipc.HbaseRPC: Server at=0A> localhost/1= 27.0.0.1:60020 could not be reached after 1=0A> tries, giving=0A> up.=0A> 1= 1/07/05 03:21:34 INFO ipc.HbaseRPC: Server at=0A> localhost/127.0.0.1:60020= could not be reached after 1=0A> tries, giving=0A> up.=0A> 11/07/05 03:21:= 35 INFO ipc.HbaseRPC: Server at=0A> localhost/127.0.0.1:60020 could not be = reached after 1=0A> tries, giving=0A> up.=0A> =0A> my conf/regionservers us= ed to have the localhost entry,=0A> which i tried=0A> to change to the host= name ults01, but no luck.=0A> =0A> /etc/hosts:=0A> 127.0.0.1=A0=A0=A0 local= host=0A> #127.0.0.1=A0=A0=A0 ults01=0A> 192.168.22.133=A0 =A0=A0=A0ults01= =0A> =0A> Basic question is from where it is picking up=0A> localhost/127.0= .0.1:60020?=0A> I think, it should be ults01/192.168.22.133:60020.=0A> Even= worst, it use to work, but due to the virtual server=0A> move, i have=0A> = to change the IP address of ults01 machine.=0A> =0A> thanks for comments.= =0A> regards,=0A> devush=0A>