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 4CEC810FAC for ; Wed, 25 Jun 2014 18:10:25 +0000 (UTC) Received: (qmail 95051 invoked by uid 500); 25 Jun 2014 18:10:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 94989 invoked by uid 500); 25 Jun 2014 18:10:25 -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 94965 invoked by uid 99); 25 Jun 2014 18:10:25 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jun 2014 18:10:25 +0000 Date: Wed, 25 Jun 2014 18:10:24 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-11354) HConnectionImplementation#DelayedClosing does not start 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-11354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] stack updated HBASE-11354: -------------------------- Attachment: HBASE_11354.patch Retry > HConnectionImplementation#DelayedClosing does not start > ------------------------------------------------------- > > Key: HBASE-11354 > URL: https://issues.apache.org/jira/browse/HBASE-11354 > Project: HBase > Issue Type: Bug > Components: Client > Affects Versions: 0.99.0, 0.98.3 > Reporter: Qianxi Zhang > Assignee: Qianxi Zhang > Priority: Minor > Attachments: HBASE_11354.patch, HBASE_11354.patch > > > The method "createAndStart" in class DelayedClosing only creates a instance, but forgets to start it. So thread delayedClosing is not running all the time. > ConnectionManager#1623 > {code} > static DelayedClosing createAndStart(HConnectionImplementation hci){ > Stoppable stoppable = new Stoppable() { > private volatile boolean isStopped = false; > @Override public void stop(String why) { isStopped = true;} > @Override public boolean isStopped() {return isStopped;} > }; > return new DelayedClosing(hci, stoppable); > } > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)