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 AA5C317BF0 for ; Wed, 1 Apr 2015 13:54:49 +0000 (UTC) Received: (qmail 71637 invoked by uid 500); 1 Apr 2015 13:47:54 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 71594 invoked by uid 500); 1 Apr 2015 13:47:54 -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 71582 invoked by uid 99); 1 Apr 2015 13:47:54 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Apr 2015 13:47:54 +0000 Date: Wed, 1 Apr 2015 13:47:54 +0000 (UTC) From: "Liu Shaohui (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-13366) Throw DoNotRetryIOException instead of read only IOException 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-13366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14390563#comment-14390563 ] Liu Shaohui commented on HBASE-13366: ------------------------------------- [~eclark] As [~enis] said, the read only state of region has no relationship with the region replica and this attribute can only be set to table descriptor. This failed tests are unrelated. Could someone help to review the simple patch? Thanks > Throw DoNotRetryIOException instead of read only IOException > ------------------------------------------------------------ > > Key: HBASE-13366 > URL: https://issues.apache.org/jira/browse/HBASE-13366 > Project: HBase > Issue Type: Improvement > Reporter: Liu Shaohui > Assignee: Liu Shaohui > Priority: Minor > Fix For: 2.0.0 > > Attachments: HBASE-13366-v1.diff > > > Currently, the read only region just throws an IOException to the clients who send write requests to it. This will cause the clients retry for configured times or until operation timeout. > Changing this exception to DoNotRetryIOException will make the client failed fast. > Suggestions are welcomed~ Thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)