Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 1222 invoked from network); 26 Feb 2008 05:54:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Feb 2008 05:54:44 -0000 Received: (qmail 44384 invoked by uid 500); 26 Feb 2008 05:54:39 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 44361 invoked by uid 500); 26 Feb 2008 05:54:39 -0000 Mailing-List: contact hbase-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-dev@hadoop.apache.org Delivered-To: mailing list hbase-dev@hadoop.apache.org Received: (qmail 44352 invoked by uid 99); 26 Feb 2008 05:54:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2008 21:54:39 -0800 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.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Feb 2008 05:54:00 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AF43929A0011 for ; Mon, 25 Feb 2008 21:53:51 -0800 (PST) Message-ID: <493720733.1204005231716.JavaMail.jira@brutus> Date: Mon, 25 Feb 2008 21:53:51 -0800 (PST) From: "stack (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-471) IllegalStateException thrown in client after region was split and deleted In-Reply-To: <492010390.1203986151295.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12572362#action_12572362 ] stack commented on HBASE-471: ----------------------------- According to the excerpts from your logs above, the offline region is on 192.168.105.21. Can you attach the logs from that regionserver? Thanks. > IllegalStateException thrown in client after region was split and deleted > ------------------------------------------------------------------------- > > Key: HBASE-471 > URL: https://issues.apache.org/jira/browse/HBASE-471 > Project: Hadoop HBase > Issue Type: Bug > Affects Versions: 0.1.0 > Environment: Linux Debian, HBase 0.16.0 > Reporter: Lars George > > For some reason a client sometimes fails to locate a row with a IllegalStateException when the region was split and deleted. > > [2008-02-25 16:12:39,171] ERROR [http-80-Processor20] archive.MultilingualArchive - getDocument: An error occurred. > > java.lang.IllegalStateException: region offline: pdc-docs,US7039976_20060509,1203981958556 > > at org.apache.hadoop.hbase.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:432) > > at org.apache.hadoop.hbase.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:343) > > at org.apache.hadoop.hbase.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:306) > > at org.apache.hadoop.hbase.HTable.getRegionLocation(HTable.java:102) > > at org.apache.hadoop.hbase.HTable.get(HTable.java:280) > Tracing the region on the master shows this: > > 2008-02-25 16:09:38,761 DEBUG org.apache.hadoop.hbase.HMaster: Received MSG_REGION_SPLIT : > +pdc-docs,US7039976_20060509,1203981958556 from 192.168.105.21:60020 > > 2008-02-25 16:09:38,761 INFO org.apache.hadoop.hbase.HMaster: region pdc-docs,US7039976_20060509,1203981958556 split. New regions > +are: pdc-docs,US7039976_20060509,1203984578345, pdc-docs,US7046359_20060516,1203984578345 > > 2008-02-25 16:10:02,470 DEBUG org.apache.hadoop.hbase.HMaster: HMaster.metaScanner regioninfo: {regionname: > +pdc-docs,US7039976_20060509,1203981958556, startKey: , endKey: , encodedName: 1260314009, > +offline: true, split: true, tableDesc: {name: pdc-docs, families: {contents:={name: contents, max versions: 3, compression: NONE, in > +memory: false, max length: 2147483647, bloom filter: none}, language:={name: language, max versions: 3, compression: NONE, in > +memory: false, max length: 2147483647, bloom filter: none}, mimetype:={name: mimetype, max versions: 3, compression: NONE, in > +memory: false, max length: 2147483647, bloom filter: none}}}}, server: 192.168.105.21:60020, startCode: 1203949130468 > > 2008-02-25 16:10:02,513 DEBUG org.apache.hadoop.hbase.HMaster: pdc-docs,US7039976_20060509,1203984578345 no longer has references > +to pdc-docs,US7039976_20060509,1203981958556 > > 2008-02-25 16:10:02,516 DEBUG org.apache.hadoop.hbase.HMaster: pdc-docs,US7046359_20060516,1203984578345 no longer has references > +to pdc-docs,US7039976_20060509,1203981958556 > > 2008-02-25 16:10:02,516 INFO org.apache.hadoop.hbase.HMaster: Deleting region pdc-docs,US7039976_20060509,1203981958556 because > +daughter splits no longer hold references > After discussion with st^ack it seems that the server is simply not retrying IllegalStateException but IOExceptions only. Also see HBASE-452 which should be addressed at the same time. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.