Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A4C61200C4B for ; Mon, 20 Mar 2017 23:24:48 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id A3724160B8F; Mon, 20 Mar 2017 22:24:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id F3B70160B71 for ; Mon, 20 Mar 2017 23:24:47 +0100 (CET) Received: (qmail 93015 invoked by uid 500); 20 Mar 2017 22:24:47 -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 92995 invoked by uid 99); 20 Mar 2017 22:24:45 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Mar 2017 22:24:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 29007C0CB5 for ; Mon, 20 Mar 2017 22:24:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.451 X-Spam-Level: * X-Spam-Status: No, score=1.451 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id dFpbGc2jCfjq for ; Mon, 20 Mar 2017 22:24:44 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 289C95FD00 for ; Mon, 20 Mar 2017 22:24:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C629DE0BCA for ; Mon, 20 Mar 2017 22:24:42 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id C6FC9254DE for ; Mon, 20 Mar 2017 22:24:41 +0000 (UTC) Date: Mon, 20 Mar 2017 22:24:41 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17127) Locate region should fail fast if underlying Connection already closed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Mar 2017 22:24:48 -0000 [ https://issues.apache.org/jira/browse/HBASE-17127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15933712#comment-15933712 ] Hudson commented on HBASE-17127: -------------------------------- SUCCESS: Integrated in Jenkins build HBase-1.3-IT #10 (See [https://builds.apache.org/job/HBase-1.3-IT/10/]) HBASE-17175 backport HBASE-17127 (Locate region should fail fast if (liyu: rev 98b5d2cd4b0badef5f576cb35c8c8f1df1c88899) * (edit) hbase-client/src/test/java/org/apache/hadoop/hbase/client/TestClientNoCluster.java * (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/ConnectionManager.java > Locate region should fail fast if underlying Connection already closed > ---------------------------------------------------------------------- > > Key: HBASE-17127 > URL: https://issues.apache.org/jira/browse/HBASE-17127 > Project: HBase > Issue Type: Bug > Affects Versions: 1.1.7, 1.2.4 > Reporter: Yu Li > Assignee: Yu Li > Fix For: 2.0.0, 1.4.0, 1.2.5, 0.98.24, 1.1.8 > > Attachments: HBASE-17127.patch > > > Currently if try to locate region when underlying connection is closed, we will retry and wait at least 10s for each round until exhausted (refer to the catch clause of {{RpcRetryingCallerImpl#callWithRetries}} and {{RegionServerCallable#sleep}} for more details), which is unnecessary and time-costing. > The issue is caused by user incorrectly manipulating connection, which shows the disadvantage of force user to handle connection life cycle and proves the necessity to support auto-managed connection as we did before, as indicated in HBASE-17009 > In this JIRA we will make it fail fast in the above case. -- This message was sent by Atlassian JIRA (v6.3.15#6346)