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 930F79250 for ; Fri, 13 Jan 2012 19:33:12 +0000 (UTC) Received: (qmail 49515 invoked by uid 500); 13 Jan 2012 19:33:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 49429 invoked by uid 500); 13 Jan 2012 19:33:11 -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 49278 invoked by uid 99); 13 Jan 2012 19:33:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2012 19:33:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Jan 2012 19:33:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8C7B914AFD8 for ; Fri, 13 Jan 2012 19:32:50 +0000 (UTC) Date: Fri, 13 Jan 2012 19:32:50 +0000 (UTC) From: "jiraposter@reviews.apache.org (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <2038347406.38746.1326483170576.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <453033026.38621.1326481599480.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5196) Failure in region split after PONR could cause region hole 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-5196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13185788#comment-13185788 ] jiraposter@reviews.apache.org commented on HBASE-5196: ------------------------------------------------------ bq. On 2012-01-13 19:26:42, Ted Yu wrote: bq. > src/main/java/org/apache/hadoop/hbase/master/handler/ServerShutdownHandler.java, line 366 bq. > bq. > bq. > I prefer an enum here: bq. > daughter not missing, bq. > daughter missing and fixed, bq. > daughter missing but not fixed I'd say that if you are interested, look in logs? I think we should get the basic patch in first. Can do the fancy stuff in another issue? - Michael ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3488/#review4364 ----------------------------------------------------------- On 2012-01-13 19:11:36, Jimmy Xiang wrote: bq. bq. ----------------------------------------------------------- bq. This is an automatically generated e-mail. To reply, visit: bq. https://reviews.apache.org/r/3488/ bq. ----------------------------------------------------------- bq. bq. (Updated 2012-01-13 19:11:36) bq. bq. bq. Review request for hbase. bq. bq. bq. Summary bq. ------- bq. bq. When the master starts up, this patch tries to scan all offline split parents and fix up missing daughters as the ServerShutdownHandler does. bq. bq. bq. This addresses bug HBASE-5196. bq. https://issues.apache.org/jira/browse/HBASE-5196 bq. bq. bq. Diffs bq. ----- bq. bq. src/main/java/org/apache/hadoop/hbase/master/HMaster.java cb2f084 bq. src/main/java/org/apache/hadoop/hbase/master/handler/ServerShutdownHandler.java 8f4f4b8 bq. src/main/java/org/apache/hadoop/hbase/regionserver/SplitRequest.java 41f5dff bq. bq. Diff: https://reviews.apache.org/r/3488/diff bq. bq. bq. Testing bq. ------- bq. bq. I test the fix in my real cluster and it does fix the problem. bq. bq. I am working on a unit test now. bq. bq. bq. Thanks, bq. bq. Jimmy bq. bq. > Failure in region split after PONR could cause region hole > ---------------------------------------------------------- > > Key: HBASE-5196 > URL: https://issues.apache.org/jira/browse/HBASE-5196 > Project: HBase > Issue Type: Bug > Components: master, regionserver > Affects Versions: 0.92.0, 0.94.0 > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > > If region split fails after PONR, it relies on the master ServerShutdown handler to fix it. However, if the master doesn't get a chance to fix it. There will be a hole in the region chain. -- 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