[
https://issues.apache.org/jira/browse/HBASE-506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12577703#action_12577703
]
stack commented on HBASE-506:
-----------------------------
+1 on patch. Falls into the debugging tools category -- will help
prove/disprove IRC theory that WREs just happen to be the last of a set of
retryes -- so fine to apply to 0.1 branch.
> When an exception has to escape ServerCallable due to exhausted retries, show
> all the exceptions that lead to this situation
> ----------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-506
> URL: https://issues.apache.org/jira/browse/HBASE-506
> Project: Hadoop HBase
> Issue Type: Improvement
> Components: client
> Reporter: Bryan Duxbury
> Fix For: 0.1.0, 0.2.0
>
> Attachments: 506-0.1.patch
>
>
> Every so often, we find ourselves trying to debug a problem that happens in
> HTable where we exhaust all our retries trying to contact the region server
> hosting the region we want to operate on. Oftentimes the last exception that
> comes out is something like WrongRegionException, which should just never be
> the case.
> As a way to improve our debugging capabilities, when we decide to throw an
> exception out of ServerCallable, let's show not just the last exception but
> all the exceptions that caused all the retries in the first place. This will
> help us understand the sequence of events that led to us running out of
> retries.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.