[
https://issues.apache.org/jira/browse/HBASE-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105031#comment-13105031
]
stack commented on HBASE-4412:
------------------------------
I agree.
> no need to retry scan operation on the same server in the 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
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira