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 84A2E92A0 for ; Fri, 30 Mar 2012 20:01:50 +0000 (UTC) Received: (qmail 13827 invoked by uid 500); 30 Mar 2012 20:01:50 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 13784 invoked by uid 500); 30 Mar 2012 20:01:50 -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 13776 invoked by uid 99); 30 Mar 2012 20:01:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Mar 2012 20:01:50 +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, 30 Mar 2012 20:01:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4042D34FFFB for ; Fri, 30 Mar 2012 20:01:26 +0000 (UTC) Date: Fri, 30 Mar 2012 20:01:26 +0000 (UTC) From: "Matteo Bertozzi (Updated) (JIRA)" To: issues@hbase.apache.org Message-ID: <54303446.39579.1333137686264.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <379886073.39488.1333135828061.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (HBASE-5681) Split Region crash if region is still offline after a previous split 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-5681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Matteo Bertozzi updated HBASE-5681: ----------------------------------- Attachment: logs1-HBASE-5681.tar.bz2 logs0-HBASE-5681.tar.bz2 > Split Region crash if region is still offline after a previous split > -------------------------------------------------------------------- > > Key: HBASE-5681 > URL: https://issues.apache.org/jira/browse/HBASE-5681 > Project: HBase > Issue Type: Bug > Components: regionserver, zookeeper > Affects Versions: 0.92.1, 0.96.0, 0.94.1 > Reporter: Matteo Bertozzi > Assignee: Matteo Bertozzi > Priority: Minor > Attachments: logs0-HBASE-5681.tar.bz2, logs1-HBASE-5681.tar.bz2 > > > I've a script that starts hbase and a couple of region servers in distributed mode (hbase.cluster.distributed = true) due to HBASE-5666 I need a sleep to ensure that rs are up. > {code} > $HBASE_HOME/bin/start-hbase.sh > sleep 5 # bug HBASE-5666 rs doesn't retry if znode is not available. > $HBASE_HOME/bin/local-regionservers.sh start 1 2 3 > {code} > Once hbase is started I run an hbase shell script file (see below) > everything is fine till last split operation. > {code} > # $HBASE_HOME/bin/hbase shell test.hbase > # test.hbase > create 'bugtb-t1', 'tcf11', 'tcf12' > create 'bugtb-t2', 'tcf11', 'tcf12' > put 'bugtb-t1', '10', 'tcf11:c1', 'a' > put 'bugtb-t1', '15', 'tcf11:c2', 'b' > put 'bugtb-t1', '20', 'tcf11:c1', 'c' > put 'bugtb-t1', '30', 'tcf11:c2', 'd' > put 'bugtb-t1', '35', 'tcf11:c1', 'e' > put 'bugtb-t1', '40', 'tcf11:c2', 'f' > put 'bugtb-t2', '10', 'tcf11:c1', 'a' > put 'bugtb-t2', '15', 'tcf11:c2', 'b' > put 'bugtb-t2', '20', 'tcf11:c1', 'c' > put 'bugtb-t2', '30', 'tcf11:c2', 'd' > put 'bugtb-t2', '35', 'tcf11:c1', 'e' > put 'bugtb-t2', '40', 'tcf11:c2', 'f' > split 'bugtb-t1', '20' > split 'bugtb-t2', '20' > split 'bugtb-t1', '40' > {code} > During the last split the region is still offline, and you get an exception.... > (If you sleep a bit before executing the last split, everything is fine) > {code} > ERROR: org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.hbase.NotServingRegionException: Region is not online: bugtb-t1,,1333134892936.4e14c2cf4293156d5b099dc3d5c44890. > at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:3123) > at org.apache.hadoop.hbase.regionserver.HRegionServer.splitRegion(HRegionServer.java:2926) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:366) > at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1383) > {code} -- 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