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 1653F602E for ; Sat, 6 Aug 2011 02:13:19 +0000 (UTC) Received: (qmail 99398 invoked by uid 500); 6 Aug 2011 02:13:17 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 99148 invoked by uid 500); 6 Aug 2011 02:13:16 -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 99140 invoked by uid 99); 6 Aug 2011 02:13:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Aug 2011 02:13:16 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.90.58] (HELO nm11-vm0.bullet.mail.ne1.yahoo.com) (98.138.90.58) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 06 Aug 2011 02:13:07 +0000 Received: from [98.138.90.51] by nm11.bullet.mail.ne1.yahoo.com with NNFMP; 06 Aug 2011 02:12:46 -0000 Received: from [98.138.89.245] by tm4.bullet.mail.ne1.yahoo.com with NNFMP; 06 Aug 2011 02:12:46 -0000 Received: from [127.0.0.1] by omp1059.mail.ne1.yahoo.com with NNFMP; 06 Aug 2011 02:12:46 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 104382.35275.bm@omp1059.mail.ne1.yahoo.com Received: (qmail 72224 invoked by uid 60001); 6 Aug 2011 02:12:46 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1312596766; bh=jCznbcO9XRWDnZqLfy7tWE+HwDsXRQO+ovXiD0oQzQs=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=B7TLfI+ks9u+zsEyGZHaiGH77Vm1QZG6e1cMd40eQHSDmkAdbTTTnWgRwgPUc+PwvxdiPpD52cl9yvx3rLYYOBH2xk6CBT6ydgONJ5uqQyeAL4iWrN8D1HTJpjXYf7fyY7/GB/zCWHNylsTa9SaxKpXcmDecqpb5vnd9AT6GtHw= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hkqHmF+psu9XrUySogqDQUvB3Yf8ppCNiTfL6pNAdSZMGrto4nMc3Mr5Kq9XjcaYiMyXcl3lEmTtFBcsnOSiKyj0FWLTewW/qRadaEMT8Gdhi+8luO3VqxyXXaZoaXdKXeMx+HmHMvkki/JlQT9K6LKwKF59T2NK0ZBLqaf0f2A=; X-YMail-OSG: yKt9IaoVM1mXoOROHiW2tNM8jYUTs40.XStzGdWn5k8KZOs .KWfbITtItluPwXWsTg58klEYseHCbnRdWPDUrJsprf54h7XcMzNV3B4Oy6I 0imHKd3_gSRTEu_J4ZtqsHf0lo_3yrxLAht81nfbNHFqJ2Elfzkemd_BC1jQ RNgE2lkq9t5F.1KICbJiITKlxS5Or0qKV1VcjP628KnsfG0GHJbZo.eQfyjy 11Pt87k5rfdoXoXIt.dKzCVsEopRTcdVQvpAetFbI2TCNzf957cdn9B3MQDu C_7Fv2JphYvLg41_PsOaSzHuvplSRlt4OoEPspbSEjEZvUWpNjiwEHeUWsjO qi34DbGEj4fT_4MpC7xTuNLVGVxHvvOTZkA_HV046c9dEE4TBUhOD6TQPIb2 lw8HoFZJAhMjCQkku5cpUF2MxbeGp_WcuO5VKNPdkxZku Received: from [67.170.234.149] by web121718.mail.ne1.yahoo.com via HTTP; Fri, 05 Aug 2011 19:12:45 PDT X-Mailer: YahooMailWebService/0.8.113.313619 References: <1312596111.11052.YahooMailNeo@web121709.mail.ne1.yahoo.com> Message-ID: <1312596765.57066.YahooMailNeo@web121718.mail.ne1.yahoo.com> Date: Fri, 5 Aug 2011 19:12:45 -0700 (PDT) From: lars hofhansl Reply-To: lars hofhansl Subject: Re: hbase shell broken in trunk (with simple patch) To: "user@hbase.apache.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Created HBASE-4171 and attached the fix there.=0A=0A=0A=0A----- Original Me= ssage -----=0AFrom: Gary Helmling =0ATo: user@hbase.ap= ache.org; lars hofhansl =0ACc: =0ASent: Friday, August= 5, 2011 7:04 PM=0ASubject: Re: hbase shell broken in truck (with simple pa= tch)=0A=0AThanks Lars.=A0 That's a remnant of HBASE-3065.=0A=0AYes please o= pen an issue with the patch.=A0 We'll get it in.=0A=0A=0AOn Fri, Aug 5, 201= 1 at 7:01 PM, lars hofhansl wrote:=0A=0A> I noticed i= n HBase trunk I always get this error in the shell:=0A>=0A> ERROR: undefine= d method `getRecoverableZookeeper' for=0A> #=0A>=0A>=0A> This is apparently caused b= y HBASE-3065. The fix is trivial:=0A>=0A> Index: src/main/ruby/hbase/admin.= rb=0A> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A> --- src/ma= in/ruby/hbase/admin.rb=A0 =A0 =A0 =A0 (revision 1154413)=0A> +++ src/main/r= uby/hbase/admin.rb=A0 =A0 =A0 =A0 (working copy)=0A> @@ -30,7 +30,7 @@=0A>= =A0 =A0 =A0 =A0 @admin =3D=0A> org.apache.hadoop.hbase.client.HBaseAdmin.ne= w(configuration)=0A>=A0 =A0 =A0 =A0 connection =3D @admin.getConnection()= =0A>=A0 =A0 =A0 =A0 @zk_wrapper =3D connection.getZooKeeperWatcher()=0A> -= =A0 =A0 =A0 zk =3D @zk_wrapper.getZooKeeper()=0A> +=A0 =A0 =A0 zk =3D @zk_w= rapper.getRecoverableZooKeeper().getZooKeeper()=0A>=A0 =A0 =A0 =A0 @zk_main= =3D org.apache.zookeeper.ZooKeeperMain.new(zk)=0A>=A0 =A0 =A0 =A0 @formatt= er =3D formatter=0A>=A0 =A0 =A0 end=0A>=0A> Should I open an issue and add = the patch there?=0A>=0A> Thanks.=0A>=0A> -- Lars=0A>=0A>=0A