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 D1A7517B20 for ; Tue, 14 Oct 2014 08:12:10 +0000 (UTC) Received: (qmail 15539 invoked by uid 500); 14 Oct 2014 08:12:08 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 15457 invoked by uid 500); 14 Oct 2014 08:12:08 -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 15415 invoked by uid 99); 14 Oct 2014 08:12:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 08:12:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of stoffe@gmail.com designates 209.85.213.170 as permitted sender) Received: from [209.85.213.170] (HELO mail-ig0-f170.google.com) (209.85.213.170) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Oct 2014 08:12:00 +0000 Received: by mail-ig0-f170.google.com with SMTP id hn15so16517474igb.1 for ; Tue, 14 Oct 2014 01:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=v7Kh8ZLoBrHUIsofLnay01XEStA4RVKBCcXtEdl9UGY=; b=fjs8HHBum1DjFFBOJMVdv4sB9BLh/Bmdg+r0yt9jX4lSCjhxcDXufxiFy91gPzA7IN OcfniPWRnUOTnBZw8rV5xbnEDcdLLTU/2S2bbx6xXJaA5R/Szix1co2N88/mlVVUGVJ3 evIIJMe84YpRGsUWSATEbhKLa0NNBt+DWRvw0lnlgqTFjHiEqLgnWcjsJT/xMuponPAM QCu498j5FXAbZx3mJnbY0p2uxyPcSx5xq84Wcl4sBOkybFsnWlZdmdeZRk97/aTkiZKr 7CLNekt1z/U1+FOVdKbFddKuB7ChSwX6Ps2D5c9yTA0yVK3IPSSlPHxDUI7Z9NPMgcP/ uYYQ== MIME-Version: 1.0 X-Received: by 10.50.43.167 with SMTP id x7mr4868449igl.41.1413274299882; Tue, 14 Oct 2014 01:11:39 -0700 (PDT) Received: by 10.107.50.203 with HTTP; Tue, 14 Oct 2014 01:11:39 -0700 (PDT) In-Reply-To: References: Date: Tue, 14 Oct 2014 10:11:39 +0200 Message-ID: Subject: Re: Force remove table From: =?UTF-8?Q?Kristoffer_Sj=C3=B6gren?= To: user@hbase.apache.org Content-Type: multipart/alternative; boundary=089e011602b29d656b05055d90b7 X-Virus-Checked: Checked by ClamAV on apache.org --089e011602b29d656b05055d90b7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I was thinking of doing that but I suspect that zookeeper keeps metadata of tables also. Seems like region servers are fine for now without the master and I don't want to make the problem worse by taking chances. If I run 'hbase hbck' it complains about master is not running also. I found the following two posts which indicate that I should remove the zookeeper nodes. Can somebody confirm? 1. http://stackoverflow.com/a/14557937/1195960 2. http://arnon.me/2013/01/killing-hbase-zombie-table/ On Tue, Oct 14, 2014 at 9:51 AM, lagend wrote: > Maybe you can remove the hdfs files of those bad tables. > like=EF=BC=9A bin/hadoop fs -rm /hbase/TABLENAME > > > > > ------------------ =E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6 -----------------= - > =E5=8F=91=E4=BB=B6=E4=BA=BA: "Kristoffer Sj=C3=B6gren";= ; > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4: 2014=E5=B9=B410=E6=9C=8814=E6=97=A5= (=E6=98=9F=E6=9C=9F=E4=BA=8C) =E4=B8=8B=E5=8D=883:27 > =E6=94=B6=E4=BB=B6=E4=BA=BA: "user"; > > =E4=B8=BB=E9=A2=98: Force remove table > > > > Hi > > I accidentally created a few tables with 'lzo' compression without the ja= r > dependencies in hbase 0.94.7. This caused havoc on the master which > eventually crashed and now I can't start it again [1]. > > I tried to remove the tables but I can't - hbase shell is complaining abo= ut > the master is not running so i'm stuck. > > Is there a way to forcefully delete these tables or any other way to get > the master back up? > > Cheers, > -Kristoffer > > > 1. http://pastebin.com/Jprr6j39 > --089e011602b29d656b05055d90b7--