Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C06437B23 for ; Thu, 15 Sep 2011 00:28:30 +0000 (UTC) Received: (qmail 72553 invoked by uid 500); 15 Sep 2011 00:28:30 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 72531 invoked by uid 500); 15 Sep 2011 00:28:30 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 72523 invoked by uid 99); 15 Sep 2011 00:28:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2011 00:28:30 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 15 Sep 2011 00:28:29 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 0CF8D99746 for ; Thu, 15 Sep 2011 00:28:09 +0000 (UTC) Date: Thu, 15 Sep 2011 00:28:09 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: <1771959918.29129.1316046489049.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <456342731.28728.1316039049059.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-4412) no need to retry scan operation on the same server in the case of RegionServerStoppedException MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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