Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F13091F2 for ; Mon, 25 Jun 2012 09:48:45 +0000 (UTC) Received: (qmail 13328 invoked by uid 500); 25 Jun 2012 09:48:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 13121 invoked by uid 500); 25 Jun 2012 09:48:44 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 13071 invoked by uid 99); 25 Jun 2012 09:48:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jun 2012 09:48:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id C69E11418F1 for ; Mon, 25 Jun 2012 09:48:42 +0000 (UTC) Date: Mon, 25 Jun 2012 09:48:42 +0000 (UTC) From: "ramkrishna.s.vasudevan (JIRA)" To: issues@hbase.apache.org Message-ID: <1087112252.50427.1340617722815.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1020587947.17546.1328749080068.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5360) [uberhbck] Add options for how to handle offline split parents. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-5360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13400381#comment-13400381 ] ramkrishna.s.vasudevan commented on HBASE-5360: ----------------------------------------------- Small nit {code} p.add(HConstants.CATALOG_FAMILY, HConstants.SPLITA_QUALIFIER, Writables.getBytes(a)); p.add(HConstants.CATALOG_FAMILY, HConstants.SPLITA_QUALIFIER, Writables.getBytes(b)); {code} In the testcase, the second put should be for SPLITB? > [uberhbck] Add options for how to handle offline split parents. > ---------------------------------------------------------------- > > Key: HBASE-5360 > URL: https://issues.apache.org/jira/browse/HBASE-5360 > Project: HBase > Issue Type: Improvement > Components: hbck > Affects Versions: 0.90.7, 0.92.1, 0.94.0 > Reporter: Jonathan Hsieh > Assignee: Jimmy Xiang > Fix For: 0.90.7, 0.92.2, 0.96.0, 0.94.1 > > Attachments: 5360-0.90-hbase.patch, 5360-0.92-hbase.patch, 5360-0.94-hbase.patch, 5360_hbase_v4.patch, hbase-5360.path > > > In a recent case, we attempted to repair a cluster that suffered from HBASE-4238 that had about 6-7 generations of "leftover" split data. The hbck repair options in an development version of HBASE-5128 treat HDFS as ground truth but didn't check SPLIT and OFFLINE flags only found in meta. The net effect was that it essentially attempted to merge many regions back into its eldest geneneration's parent's range. > More safe guards to prevent "mega-merges" are being added on HBASE-5128. > This issue would automate the handling of the "mega-merge" avoiding cases such as "lingering grandparents". The strategy here would be to add more checks against .META., and perform part of the catalog janitor's responsibilities for lingering grandparents. This would potentially include options to sideline regions, deleting grandparent regions, min size for sidelining, and mechanisms for cleaning .META.. > Note: There already exists an mechanism to reload these regions -- the bulk loaded mechanisms in LoadIncrementalHFiles can be used to re-add grandparents (automatically splitting them if necessary) to HBase. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira