Return-Path: Delivered-To: apmail-hbase-user-archive@www.apache.org Received: (qmail 90495 invoked from network); 28 May 2010 06:07:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 May 2010 06:07:01 -0000 Received: (qmail 93196 invoked by uid 500); 28 May 2010 06:07:00 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 93125 invoked by uid 500); 28 May 2010 06:06:57 -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 93115 invoked by uid 99); 28 May 2010 06:06:56 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 May 2010 06:06:56 +0000 X-ASF-Spam-Status: No, hits=3.5 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of steven.zhuang.1984@gmail.com designates 209.85.160.41 as permitted sender) Received: from [209.85.160.41] (HELO mail-pw0-f41.google.com) (209.85.160.41) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 28 May 2010 06:06:49 +0000 Received: by pwi6 with SMTP id 6so457444pwi.14 for ; Thu, 27 May 2010 23:06:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=V9pnkhKrL9DIaXv/v82tFpfRLk765AW2KzL8Y9D4GuA=; b=oRfCuf56Onz1akQ9HdPf+SWMjBu049qdb2hCWyn0NL9Jy8VdXGwFYyzxirUd3GrFbr GGeu8XIz7UuhV2ciJI0DLvNyWs6AOTsC1mrpW5wJnTwMVnZGuMbV+7HY+sDf8IMaAK+B JkoE8uMD4oOKyqjJmRe00vDK6WBKk+TvQOqA0= 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=prqfDvrnfjiuf8f/QNuVeJofpZGH7PtfFgSmmXeTXOrRxE1GRUr17/3dOW7LTRUx6c 3sCpndMxAkqlkSqMryz38uEJiSN7ZvCwrex5nzThcFqw2Et9lF3+kaAO7gObg31mgDo/ EDp42qgHxluJeqgGF5q5f3S0d8UlkO6m1bvfU= MIME-Version: 1.0 Received: by 10.141.89.8 with SMTP id r8mr8932275rvl.32.1275026787834; Thu, 27 May 2010 23:06:27 -0700 (PDT) Received: by 10.140.143.13 with HTTP; Thu, 27 May 2010 23:06:27 -0700 (PDT) In-Reply-To: References: Date: Fri, 28 May 2010 14:06:27 +0800 Message-ID: Subject: Re: region missing after restart ? From: steven zhuang To: user@hbase.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org thanks J.D I think I made a stupid mistake and compared the old HTbale.java with a same old file copy. On Fri, May 28, 2010 at 12:57 AM, Jean-Daniel Cryans wrote: > I see HBASE-2481's code in the official 0.20.4 release, so I'm not > sure what you are referring to. One thing we did forget was setting > the "Fix Version" filed in jira, and I just changed that. > > 0.20.4 is the latest release at the moment, although 0.20.5 is due > soon with one important fix for a regression that was added in 0.20.4 > > J-D > > On Thu, May 27, 2010 at 4:21 AM, steven zhuang > wrote: >> thanks, J.D. >> =A0 =A0 I have solved this problem brutally, cause now we are still usin= g >> Hbase to developing some prototypes, I dropped the table and created >> another one. >> =A0 =A0Thanks for your help anyway. :) >> >> =A0 =A0There is one more question, I noticed in the release notes of >> Hbase 0.20.4 there is not big-fix for HBASE-2481, which is said to be >> fixed in 0.20.4. Checked the code, the code is still not changed. Will >> this bug be fixed in next release? >> >> =A0 =A0I just download release from hadoop.apache.org, the newest one is >> Hbase-0.20.4 there, is this the newest official release? >> >> >> >> On Wed, May 26, 2010 at 1:38 AM, Jean-Daniel Cryans wrote: >>> Probably missing updates in .META., if your region server that was >>> serving it failed or you had to kill -9 it then it lost the last edits >>> to it (unless you patched your HDFS to support fsSync, I guess not). >>> >>> Currently to fix .META. it requires a manual intervention, which is >>> running bin/add_table.rb. Disable your table before running it. Look >>> in this mailing list's archive for stories of others users who had to >>> experience it. >>> >>> J-D >>> >>> On Tue, May 25, 2010 at 2:03 AM, steven zhuang >>> wrote: >>>> I have checked the HDFS, it seems that the data from "da_2010/01/09" >>>> to "r2_2010/01/10" is in HDFS, it is weird Hbase cannot online the >>>> corresponding region. >>>> I have enable the table in shell several times, =A0still it doesn't wo= rk. >>>> >>>> On Tue, May 25, 2010 at 4:55 PM, steven zhuang >>>> wrote: >>>>> hi, all, >>>>> =A0=A0 =A0 =A0 =A0 =A0 =A0I have=A0a table imported some data already= , but I failed to >>>>> import more data into it(still checking). for some reason I restarted >>>>> the cluster, and in the Web interface I have found out that there are >>>>> some regions missing. Below is what it shows, while I am sure there >>>>> are =A0rows like "ee_2010/01/09" or "ff_2010/01/07" in the table. >>>>> =A0 =A0 =A0 =A0 =A0 =A0I use the ruby shell, and scan the table with = a missing >>>>> row key, and the command just hang there. >>>>> =A0 =A0 =A0 =A0 =A0 =A0I am using HBase 0.20.3. >>>>> =A0 =A0 =A0 =A0 =A0 =A0If we close the cluster while the cluster is d= oing >>>>> compaction, would the data get lost? I might have closed the cluster >>>>> while some regionserver is doing a compaction operation. >>>>> >>>>> The Table on Web UI: >>>>> >>>>> Name >>>>> Region Server =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Encoded Name= =A0 =A0 Start Key >>>>> End Key >>>>> hbt2table33, =A0 ,1274761089803 >>>>> dx-9j50d07.off.tn:60030 =A0 =A0 =A0 =A0 =A0 1484851145 =A0 =A0bi_2010= /01/19_3 >>>>> hbt2table33,bi_2010/01/19_3,1274775708656 =A0 =A0 dx-9j50d07.off:6003= 0 >>>>> =A0 =A0 =A0 =A0 =A02038135176 =A0 =A0bi_2010/01/19_3 =A0 bp_2010/01/0= 5 >>>>> hbt2table33,bp_2010/01/05,1274775708656 =A0 =A0 =A0 =A0dx-9j50d08.off= .tn:60030 >>>>> =A0 =A0 =A0 =A0 =A01165242562 =A0 =A0bp_2010/01/05 =A0 =A0 da_2010/01= /09 >>>>> hbt2table33,r2_2010/01/10,1274760679583 =A0 =A0 =A0 =A0dd-9c34d07.off= .tn:60030 >>>>> =A0 =A0 =A0 =A0 =A01829006811 =A0 =A0r2_2010/01/10 >>>>> >>>> >>> >> >