hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HBASE-4412) No need to retry scan operation on the same server in case of RegionServerStoppedException
Date Fri, 30 Sep 2011 04:11:45 GMT

     [ https://issues.apache.org/jira/browse/HBASE-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ted Yu resolved HBASE-4412.
---------------------------

      Resolution: Fixed
    Hadoop Flags: Reviewed
    
> 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

        

Mime
View raw message