Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 9085 invoked from network); 4 Feb 2008 20:57:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 20:57:31 -0000 Received: (qmail 55828 invoked by uid 500); 4 Feb 2008 20:57:23 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 55817 invoked by uid 500); 4 Feb 2008 20:57:23 -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 55808 invoked by uid 99); 4 Feb 2008 20:57:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 12:57:23 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 20:57:16 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 54EDA714071 for ; Mon, 4 Feb 2008 12:57:08 -0800 (PST) Message-ID: <22904767.1202158628342.JavaMail.jira@brutus> Date: Mon, 4 Feb 2008 12:57:08 -0800 (PST) From: "Bryan Duxbury (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Commented: (HBASE-72) [hbase] 'Normal' operation should not depend on throwing of exceptions (e.g. NotServingRegionException) 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-72?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12565522#action_12565522 ] Bryan Duxbury commented on HBASE-72: ------------------------------------ Can we close this issue? if there was a significant amount of desire to refactor this interaction, it'd have been done by now. > [hbase] 'Normal' operation should not depend on throwing of exceptions (e.g. NotServingRegionException) > ------------------------------------------------------------------------------------------------------- > > Key: HBASE-72 > URL: https://issues.apache.org/jira/browse/HBASE-72 > Project: Hadoop HBase > Issue Type: Improvement > Reporter: stack > Priority: Trivial > > Region server and client logs will have lots of the following when a cluster is being loaded: > {code} > org.apache.hadoop.hbase.NotServingRegionException: hbaserepository,,7144829661993961256 > at org.apache.hadoop.hbase.HRegionServer.getRegion(HRegionServer.java:1208) > at org.apache.hadoop.hbase.HRegionServer.getRegion(HRegionServer.java:1180) > at org.apache.hadoop.hbase.HRegionServer.startUpdate(HRegionServer.java:1122) > at org.apache.hadoop.hbase.HRegionServer.batchUpdate(HRegionServer.java:985) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:340) > at org.apache.hadoop.ipc.Server$Handler.run(Server.java:566) > {code} > The NotServingRegionException exception is thrown when the remote server is no longer serving the asked-for region (usually because its been split). The server throws the exception to provoke the client into making a new interrogation of region locations. > It would be an improvement if such 'normal' operation was not built atop exceptions. For example, commits might return a 'region moved' message. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.