Return-Path: Delivered-To: apmail-hadoop-hbase-dev-archive@locus.apache.org Received: (qmail 28784 invoked from network); 29 Apr 2008 23:04:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 29 Apr 2008 23:04:39 -0000 Received: (qmail 42939 invoked by uid 500); 29 Apr 2008 23:04:38 -0000 Delivered-To: apmail-hadoop-hbase-dev-archive@hadoop.apache.org Received: (qmail 42919 invoked by uid 500); 29 Apr 2008 23:04:38 -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 42898 invoked by uid 99); 29 Apr 2008 23:04:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Apr 2008 16:04:38 -0700 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, 29 Apr 2008 23:04:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id D6C47234C105 for ; Tue, 29 Apr 2008 16:00:55 -0700 (PDT) Message-ID: <1054782436.1209510055878.JavaMail.jira@brutus> Date: Tue, 29 Apr 2008 16:00:55 -0700 (PDT) From: "Bryan Duxbury (JIRA)" To: hbase-dev@hadoop.apache.org Subject: [jira] Updated: (HBASE-603) When an exception bubbles out of getRegionServerWithRetries, wrap the exception with a RetriesExhaustedException In-Reply-To: <629508503.1209440036385.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-603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Duxbury updated HBASE-603: -------------------------------- Resolution: Fixed Status: Resolved (was: Patch Available) I fixed the javadoc like Jim suggestion. Committed to trunk. > When an exception bubbles out of getRegionServerWithRetries, wrap the exception with a RetriesExhaustedException > ---------------------------------------------------------------------------------------------------------------- > > Key: HBASE-603 > URL: https://issues.apache.org/jira/browse/HBASE-603 > Project: Hadoop HBase > Issue Type: New Feature > Components: client > Reporter: Bryan Duxbury > Assignee: Bryan Duxbury > Priority: Minor > Fix For: 0.2.0 > > Attachments: 603.patch > > > There's always a lot of confusion about what NotServingRegionExceptions and WrongRegionExceptions mean when they come out of the client side. To help alleviate this, I propose that we create a new exception type called RetriesExhaustedException that wraps the actual thrown exception and presents it clearly as a retry issue. This will be very helpful, I think. Perhaps the exception can even take a list of the exceptions that led up to this point. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.