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
            Priority: Minor
             Fix For: 0.2.0


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.

Reply via email to