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 3E6F8200BF6 for ; Tue, 10 Jan 2017 18:21:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 3CF43160B51; Tue, 10 Jan 2017 17:21:00 +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 8D2A4160B2C for ; Tue, 10 Jan 2017 18:20:59 +0100 (CET) Received: (qmail 99926 invoked by uid 500); 10 Jan 2017 17:20:58 -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 99887 invoked by uid 99); 10 Jan 2017 17:20:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2017 17:20:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6D33C2C1F54 for ; Tue, 10 Jan 2017 17:20:58 +0000 (UTC) Date: Tue, 10 Jan 2017 17:20:58 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-17440) [0.98] Make sure DelayedClosing chore is stopped as soon as an HConnection is closed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 10 Jan 2017 17:21:00 -0000 [ https://issues.apache.org/jira/browse/HBASE-17440?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15815563#comment-15815563 ] Hudson commented on HBASE-17440: -------------------------------- FAILURE: Integrated in Jenkins build HBase-0.98-on-Hadoop-1.1 #1302 (See [https://builds.apache.org/job/HBase-0.98-on-Hadoop-1.1/1302/]) HBASE-17440 [0.98] Make sure DelayedClosing chore is stopped as soon as (larsh: rev f30a654482e481045f30fbd743cd08f6175da125) * (edit) hbase-client/src/main/java/org/apache/hadoop/hbase/client/HConnectionManager.java > [0.98] Make sure DelayedClosing chore is stopped as soon as an HConnection is closed > ------------------------------------------------------------------------------------ > > Key: HBASE-17440 > URL: https://issues.apache.org/jira/browse/HBASE-17440 > Project: HBase > Issue Type: Bug > Affects Versions: 0.98.24 > Reporter: Lars Hofhansl > Assignee: Lars Hofhansl > Fix For: 0.98.25 > > Attachments: 17440.txt > > > We're seeing many issue with run-away ZK client connection in long running app servers. 10k or more send or event threads are happening frequently. > While I looked around in the code I noticed that DelayedClosing closing is not immediately ended when an HConnection is closed, when there's an issue with HBase or ZK and client reconnect in a tight loop, this can lead temporarily to very many threads running. These will all get cleaned out after at most 60s, but during that time a lot of threads can be created. > The fix is a one-liner. We'll likely file other issues soon. > Interestingly branch-1 and beyond do not have this chore anymore, although - at least in branch-1 and later - I still see the ZooKeeperAliveConnection. -- This message was sent by Atlassian JIRA (v6.3.4#6332)