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 2F72FCE60 for ; Mon, 7 May 2012 14:45:41 +0000 (UTC) Received: (qmail 84308 invoked by uid 500); 7 May 2012 14:45:39 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 84269 invoked by uid 500); 7 May 2012 14:45: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 84259 invoked by uid 99); 7 May 2012 14:45:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 14:45:39 +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 (nike.apache.org: domain of arber.research@gmail.com designates 74.125.82.51 as permitted sender) Received: from [74.125.82.51] (HELO mail-wg0-f51.google.com) (74.125.82.51) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 May 2012 14:45:32 +0000 Received: by wgbed3 with SMTP id ed3so86385wgb.20 for ; Mon, 07 May 2012 07:45:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8Tldp8WrhDGvVT6FQB9uAdkDom9cC6ClQVn2juad/Ew=; b=VKmL+0PdJuM93pMZmAf4wqhP3Chl6//RiFBJi6mbwjCS3Pb5/MeREd0r6PmhqZ5KgT d9Zws7nUu+3/RccH1Buo1a73YYg65CnYqfo77e9CTTCt/ehnO5HFn9gI0Msb4ZwN6/J3 wiH6eVsuBQv8EH1GHGKf/fDrAzFQfjqhr0yEfUdcDVEeXMlFB7uijRrH0DlSNbCxB2Ls QT2NjpIiCsnDV1euglj8YRNPvGrOg7Pgl/XC0KPKz//ALW2ueP/2uPAoxZeCnhvddMwn BgU/sMgfsijBARO5+VpU90VoXvvJwi/DwZpmVIv7YWm4biWPLsYOmncvQ/I5tMhsNyBl Mplw== Received: by 10.180.89.9 with SMTP id bk9mr35773019wib.11.1336401912271; Mon, 07 May 2012 07:45:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.183.143 with HTTP; Mon, 7 May 2012 07:44:52 -0700 (PDT) In-Reply-To: References: From: Yabo Xu Date: Mon, 7 May 2012 22:44:52 +0800 Message-ID: Subject: Re: Failed to apply HBASE-5128 on v0.90.6 To: user@hbase.apache.org Cc: Liang Yongjiang Content-Type: multipart/alternative; boundary=f46d0444812d4213a504bf7351a6 --f46d0444812d4213a504bf7351a6 Content-Type: text/plain; charset=ISO-8859-1 Thanks, Ted & Jimmy. Eventually we manually correct the patch and fix the problem. PS. There are quite a few bugs in the aforementioned patch though. Will check if it is fixed in later version after we meet the current deadline. Best, Arber On Mon, May 7, 2012 at 12:24 AM, Jimmy Xiang wrote: > You don't need to apply this patch to fix your problem. To use the > enhanced hbck in 0.90, you can > get the latest in 0.90, and build the hbase jar file, then make a copy of > your own hbase home, > replace the hbase jar in your copy of your hbase home with the hbase jar > you just built from latest > 0.90. Now you can use the enhanced hbck, while your existing installed > code is not changed. > > Thanks, > Jimmy > > On Sun, May 6, 2012 at 7:14 AM, Ted Yu wrote: > > > Can you pastebin the contents of .rejpatching files ? > > > > Cheers > > > > On Sat, May 5, 2012 at 10:13 PM, Yabo Xu > wrote: > > > > > Hi all: > > > > > > We are trying to repair some of the corrupted regions from earlier data > > > migration. To be specific, we have many regions with .regioninfo > > corrupted. > > > > > > We manually removed those corrupted regions, and attempt to fix the > > > ROOT/META by running OfflineMetaRepair. It reports there are many holes > > > discovered with messages as below: > > > > > > > p|2b8ad6458052eca8bd78012b41bc6533|165148928|web| > > > > f3a13d30730ef68fae0f1355ff436872 and p|3e8997c536a88039549cb8a2963d5d > > > > 83|232368128|web|6776c73f7429fe85ef7932221bf60a07. You need to > create > > a > > > > new regioninfo and region dir in hdfs to plug the hole. > > > > > > > > > Another search leads us to > > > HBASE-5128 , > > > a HBaseFsck patch that seems to be exactly what we want. When we try to > > > apply the patch, it has the following confilcts. FYI: our hadoop/hbase > > > version is 0.20.2/0.90.6. Did we do anything wrong or there is just no > > > patch for 0.90.6 and we have to make our own? > > > > > > patching file > > > > src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.javaHunk > #1 > > > > FAILED at 175.Hunk #2 succeeded at 185 with fuzz 1 (offset -12 > lines).1 > > > out > > > > of 2 hunks FAILED -- saving rejects to file > > > > > > > > > > src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java.rejpatching > > > > file > > > > > src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.javaHunk > > > #1 > > > > FAILED at 133.1 out of 2 hunks FAILED -- saving rejects to file > > > > > > > > > > src/main/java/org/apache/hadoop/hbase/master/AssignmentManager.java.rejpatching > > > > file src/main/java/org/apache/hadoop/hbase/master/HMaster.javaHunk #1 > > > > succeeded at 1085 (offset -1 lines).Hunk #2 FAILED at 1123.1 out of 2 > > > hunks > > > > FAILED -- saving rejects to file > > > > src/main/java/org/apache/hadoop/hbase/master/HMaster.java.rejpatching > > > file > > > > src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.javapatching > file > > > > > src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.javapatching > > > > file > > > > > > > > > > src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.javapatching > > > > file > > > > > > > > > > src/main/java/org/apache/hadoop/hbase/util/hbck/TableIntegrityErrorHandler.javapatching > > > > file > > > > > > > > > > src/main/java/org/apache/hadoop/hbase/util/hbck/TableIntegrityErrorHandlerImpl.javapatching > > > > file > > > src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.javapatching > > > > file > > > src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.javapatching > > > > file > > > > > > > > > > src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsckComparator.javapatching > > > > file > > > > > > > > > > src/test/java/org/apache/hadoop/hbase/util/hbck/HbckTestingUtil.javapatching > > > > file > > > > > > > > > > src/test/java/org/apache/hadoop/hbase/util/hbck/TestOfflineMetaRebuildHole.java > > > > > > > > > > > > Best, > > > Arber > > > > > > --f46d0444812d4213a504bf7351a6--