You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (Updated) (JIRA)" <ji...@apache.org> on 2011/09/30 06:03:45 UTC
[jira] [Updated] (HBASE-4412) No need to retry scan operation on
the same server in case of RegionServerStoppedException
[ https://issues.apache.org/jira/browse/HBASE-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-4412:
--------------------------
Summary: No need to retry scan operation on the same server in case of RegionServerStoppedException (was: no need to retry scan operation on the same server in the case of RegionServerStoppedException)
> No need to retry scan operation on the same server in case of RegionServerStoppedException
> ------------------------------------------------------------------------------------------
>
> Key: HBASE-4412
> URL: https://issues.apache.org/jira/browse/HBASE-4412
> Project: HBase
> Issue Type: Bug
> Reporter: Ming Ma
> Assignee: Ming Ma
> Fix For: 0.92.0
>
> Attachments: HBASE-4412-trunk.patch
>
>
> ScannerCallable.java doesn't retry on the same server in case of NotServingRegionException.
> if (ioe instanceof NotServingRegionException) {
> // Throw a DNRE so that we break out of cycle of calling NSRE
> // when what we need is to open scanner against new location.
> // Attach NSRE to signal client that it needs to resetup scanner.
> throw new DoNotRetryIOException("Reset scanner", ioe);
> In the scenario when region server is in shutdown process, RegionServerStoppedException will be thrown. ScannerCallable still retry. It isn't necessary.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira