hbase-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/HBASE-4412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13118133#comment-13118133
] 

Hudson commented on HBASE-4412:
-------------------------------

Integrated in HBase-TRUNK #2272 (See [https://builds.apache.org/job/HBase-TRUNK/2272/])
    HBASE-4412  No need to retry scan operation on the same server in case of
               RegionServerStoppedException (Ming Ma)

tedyu : 
Files : 
* /hbase/trunk/CHANGES.txt
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/ScannerCallable.java

                
> 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