hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryan Duxbury (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-603) When an exception bubbles out of getRegionServerWithRetries, wrap the exception with a RetriesExhaustedException
Date Tue, 29 Apr 2008 22:05:55 GMT

     [ https://issues.apache.org/jira/browse/HBASE-603?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Bryan Duxbury updated HBASE-603:
--------------------------------

    Attachment: 603.patch

Here's a patch for this. Passes unit tests, though TTI was giving me a little trouble. Don't
know if it's related or not.

> 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.


Mime
View raw message