Return-Path: Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: (qmail 20299 invoked from network); 2 Nov 2010 02:19:13 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 2 Nov 2010 02:19:13 -0000 Received: (qmail 62974 invoked by uid 500); 2 Nov 2010 02:19:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 62943 invoked by uid 500); 2 Nov 2010 02:19: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 62935 invoked by uid 99); 2 Nov 2010 02:19:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 02:19:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Nov 2010 02:19:43 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id oA22JNIl020964 for ; Tue, 2 Nov 2010 02:19:23 GMT Message-ID: <30374818.186901288664363321.JavaMail.jira@thor> Date: Mon, 1 Nov 2010 22:19:23 -0400 (EDT) From: "Jonathan Gray (JIRA)" To: issues@hbase.apache.org Subject: [jira] Commented: (HBASE-3138) When new master joins running cluster but meta is yanked from it as processing RIT, gets unexpected state In-Reply-To: <26775273.2641287645734885.JavaMail.jira@thor> 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-3138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927258#action_12927258 ] Jonathan Gray commented on HBASE-3138: -------------------------------------- This is a little tricky. What should we do when we get an exception processing a RIT during failover? We could just log it and move on. If we ensure that we put the state into RIT in-memory map as soon as possible, then even if we get an exception, we'll time it out later and we won't lose track. > When new master joins running cluster but meta is yanked from it as processing RIT, gets unexpected state > --------------------------------------------------------------------------------------------------------- > > Key: HBASE-3138 > URL: https://issues.apache.org/jira/browse/HBASE-3138 > Project: HBase > Issue Type: Bug > Reporter: stack > Fix For: 0.90.0 > > > Testing rolling restart i turned up the following condition. > Master is joining an extant cluster and is trying to clean up RIT. Then the server hosting .META. is shutdown in the middle of it all. Deal. Here is exception. > {code} > 2010-10-21 06:45:58,592 DEBUG org.apache.hadoop.hbase.master.AssignmentManager: Handling transition=RS_ZK_REGION_OPENED, server=sv2borg187,60020,1287643131919, region=efcd899283e96f20faa317772f52adca > 2010-10-21 06:45:58,616 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown. > org.apache.hadoop.ipc.RemoteException: java.io.IOException: Server not running > at org.apache.hadoop.hbase.regionserver.HRegionServer.checkOpen(HRegionServer.java:2198) > at org.apache.hadoop.hbase.regionserver.HRegionServer.get(HRegionServer.java:1499) > at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:561) > at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1025) > at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:749) > at org.apache.hadoop.hbase.ipc.HBaseRPC$Invoker.invoke(HBaseRPC.java:255) > at $Proxy1.get(Unknown Source) > at org.apache.hadoop.hbase.catalog.MetaReader.getRegion(MetaReader.java:286) > at org.apache.hadoop.hbase.master.AssignmentManager.processRegionInTransition(AssignmentManager.java:250) > at org.apache.hadoop.hbase.master.AssignmentManager.processFailover(AssignmentManager.java:209) > at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:392) > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:268) > 2010-10-21 06:45:58,617 INFO org.apache.hadoop.hbase.master.HMaster: Aborting > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.