hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ming Ma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-4412) no need to retry scan operation on the same server in the case of RegionServerStoppedException
Date Wed, 14 Sep 2011 22:24:09 GMT
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

        

Mime
View raw message