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 B366F9C42 for ; Mon, 12 Dec 2011 19:28:03 +0000 (UTC) Received: (qmail 45497 invoked by uid 500); 12 Dec 2011 19:28:03 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 45434 invoked by uid 500); 12 Dec 2011 19:28:03 -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 45405 invoked by uid 99); 12 Dec 2011 19:28:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Dec 2011 19:28:02 +0000 X-ASF-Spam-Status: No, hits=-2001.5 required=5.0 tests=ALL_TRUSTED,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; Mon, 12 Dec 2011 19:27:53 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7186C10ED54 for ; Mon, 12 Dec 2011 19:27:31 +0000 (UTC) Date: Mon, 12 Dec 2011 19:27:31 +0000 (UTC) From: "stack (Resolved) (JIRA)" To: issues@hbase.apache.org Message-ID: <1978288613.2274.1323718051466.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <354286037.16399.1322461720265.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (HBASE-4881) Unhealthy region is on service caused by rollback of region splitting MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-4881?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack resolved HBASE-4881. -------------------------- Resolution: Fixed Fix Version/s: 0.92.0 Assignee: chunhui shen Hadoop Flags: Reviewed Committed trunk and 0.92 branch. Thank you for the patch Chunhui. > Unhealthy region is on service caused by rollback of region splitting > --------------------------------------------------------------------- > > Key: HBASE-4881 > URL: https://issues.apache.org/jira/browse/HBASE-4881 > Project: HBase > Issue Type: Bug > Reporter: chunhui shen > Assignee: chunhui shen > Fix For: 0.92.0 > > Attachments: 4881-v2.txt, hbase-4881.patch > > > If region splitting is failed in the state of JournalEntry.CLOSED_PARENT_REGION > It will be rollback as the following steps: > {code} > 1.case CLOSED_PARENT_REGION: > this.parent.initialize(); > break; > 2.case CREATE_SPLIT_DIR: > this.parent.writestate.writesEnabled = true; > cleanupSplitDir(fs, this.splitdir); > break; > 3.case SET_SPLITTING_IN_ZK: > if (server != null && server.getZooKeeper() != null) { > cleanZK(server, this.parent.getRegionInfo()); > } > break; > {code} > If this.parent.initialize() throws IOException in step 1, > If check filesystem is ok. it will do nothing. > However, the parent region is on service now. -- 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