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 3D261C443 for ; Tue, 8 May 2012 06:16:20 +0000 (UTC) Received: (qmail 55658 invoked by uid 500); 8 May 2012 06:16:20 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 55607 invoked by uid 500); 8 May 2012 06:16:19 -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 55589 invoked by uid 99); 8 May 2012 06:16:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2012 06:16:18 +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; Tue, 08 May 2012 06:16:17 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 8CF21438CAD for ; Tue, 8 May 2012 06:15:57 +0000 (UTC) Date: Tue, 8 May 2012 06:15:57 +0000 (UTC) From: "Chinna Rao Lalam (JIRA)" To: issues@hbase.apache.org Message-ID: <1349840969.37765.1336457757579.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1571184912.32482.1334662817262.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5806) Handle split region related failures on master restart and RS restart 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-5806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13270242#comment-13270242 ] Chinna Rao Lalam commented on HBASE-5806: ----------------------------------------- Thanks for the review Stack. Patch updated with the debug message. {code} - JVMClusterUtil.MasterThread mt = - JVMClusterUtil.createMasterThread(c, - this.masterClass, index); + JVMClusterUtil.MasterThread mt = JVMClusterUtil.createMasterThread(c, + (Class) c.getClass(HConstants.MASTER_IMPL, HMaster.class), index); this.masterThreads.add(mt); {code} Added the above change for setting the MockMaster class while restarting the master without this change master class is set through the property HConstants.MASTER_IMPL is not reflecting because masterClass is already loaded. {code} default: - throw new IllegalStateException("Received event is not valid."); + break; } {code} While restarting the master regions in RS_ZK_REGION_SPLIT or RS_ZK_REGION_SPLITTING state should not be handled in processRIT but here it is throwing the exception because of this it failed. Here it should not throw any exception. > Handle split region related failures on master restart and RS restart > --------------------------------------------------------------------- > > Key: HBASE-5806 > URL: https://issues.apache.org/jira/browse/HBASE-5806 > Project: HBase > Issue Type: Bug > Affects Versions: 0.92.1 > Reporter: ramkrishna.s.vasudevan > Assignee: Chinna Rao Lalam > Fix For: 0.92.2, 0.96.0, 0.94.1 > > Attachments: HBASE-5806.patch, HBASE-5806_0.92.patch, HBASE-5806_0.94.patch, HBASE-5806_0.94_1.patch, HBASE-5806_0.94_2.patch, HBASE-5806_trunk.patch, HBASE-5806_trunk_1.patch, HBASE-5806_trunk_2.patch > > > This issue is raised to solve issues that comes out of partial region split happened and the region node in the ZK which is in RS_ZK_REGION_SPLITTING and RS_ZK_REGION_SPLIT is not yet processed. > This also tries to address HBASE-5615. -- 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