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 97C1D111E9 for ; Thu, 18 Sep 2014 17:38:39 +0000 (UTC) Received: (qmail 95901 invoked by uid 500); 18 Sep 2014 17:38:34 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 95851 invoked by uid 500); 18 Sep 2014 17:38:34 -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 95733 invoked by uid 99); 18 Sep 2014 17:38:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 17:38:34 +0000 Date: Thu, 18 Sep 2014 17:38:34 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11974) When a disabled table is scanned, NotServingRegionException is thrown instead of TableNotEnabledException 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-11974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139226#comment-14139226 ] Ted Yu commented on HBASE-11974: -------------------------------- Throwing NotServingRegionException to client for disabled table is a regression. NotServingRegionException doesn't extend DoNotRetryIOException. So client would likely retry, without the fix. At some point, client may issue isTableDisable call and stop retrying. The proposed fix doesn't add extra RPC compared with 0.98 > When a disabled table is scanned, NotServingRegionException is thrown instead of TableNotEnabledException > --------------------------------------------------------------------------------------------------------- > > Key: HBASE-11974 > URL: https://issues.apache.org/jira/browse/HBASE-11974 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Assignee: Ted Yu > Attachments: 11974-test.patch, 11974-v1.txt, 11974-v2.txt, 11974-v3.txt, 11974-v4.txt, 11974-v5.txt, 11974-v6.txt > > > When a disabled table is scanned, TableNotEnabledException should be thrown. > However, currently NotServingRegionException is thrown. > Thanks to Romil Choksi who discovered this problem. -- This message was sent by Atlassian JIRA (v6.3.4#6332)