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 6F99B10C78 for ; Wed, 23 Jul 2014 16:43:39 +0000 (UTC) Received: (qmail 37541 invoked by uid 500); 23 Jul 2014 16:43:39 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 37487 invoked by uid 500); 23 Jul 2014 16:43:39 -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 37474 invoked by uid 99); 23 Jul 2014 16:43:39 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Jul 2014 16:43:39 +0000 Date: Wed, 23 Jul 2014 16:43:39 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-11565) Stale connection could stay for a while 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-11565?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14071930#comment-14071930 ] Hudson commented on HBASE-11565: -------------------------------- FAILURE: Integrated in HBase-0.94-security #502 (See [https://builds.apache.org/job/HBase-0.94-security/502/]) HBASE-11565 Stale connection could stay for a while (jxiang: rev 8cee70ff8b9b49c8942629b143867b8308560529) * src/main/java/org/apache/hadoop/hbase/ipc/HBaseClient.java > Stale connection could stay for a while > --------------------------------------- > > Key: HBASE-11565 > URL: https://issues.apache.org/jira/browse/HBASE-11565 > Project: HBase > Issue Type: Bug > Components: Client > Reporter: Jimmy Xiang > Assignee: Jimmy Xiang > Fix For: 0.99.0, 0.96.3, 0.98.5, 0.94.22, 2.0.0 > > Attachments: hbase-11565-0.98.patch, hbase-11565-v1.patch > > > In RpcClient, we cache the connection to each region server. When the connection goes bad, it stays in the cache till it's removed. Before it's removed, new calls will try to use it and just fail. The connection is a thread. It could be stuck in trying to receive some response. Before this receiving thread times out, it won't remove itself from the cache. > It will be better to interrupt the receiving thread and let it clean up sooner. -- This message was sent by Atlassian JIRA (v6.2#6252)