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 1A4FAD28D for ; Fri, 2 Nov 2012 17:59:13 +0000 (UTC) Received: (qmail 45825 invoked by uid 500); 2 Nov 2012 17:59:12 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 45786 invoked by uid 500); 2 Nov 2012 17:59:12 -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 45774 invoked by uid 99); 2 Nov 2012 17:59:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 02 Nov 2012 17:59:12 +0000 Date: Fri, 2 Nov 2012 17:59:12 +0000 (UTC) From: "Ted Yu (JIRA)" To: issues@hbase.apache.org Message-ID: <1178248579.61491.1351879152790.JavaMail.jiratomcat@arcas> In-Reply-To: <1030113914.61249.1351876992863.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (HBASE-7086) Enhance ResourceChecker to log stack trace for potentially hanging threads 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-7086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ted Yu updated HBASE-7086: -------------------------- Attachment: testHFileCleaner.out The test output recorded earlier this morning. > Enhance ResourceChecker to log stack trace for potentially hanging threads > -------------------------------------------------------------------------- > > Key: HBASE-7086 > URL: https://issues.apache.org/jira/browse/HBASE-7086 > Project: HBase > Issue Type: Bug > Reporter: Ted Yu > Fix For: 0.94.3, 0.96.0 > > Attachments: 7086.94, testHFileCleaner.out > > > Currently ResourceChecker logs a line similar to the following if it detects potential thread leak: > {code} > 2012-11-02 10:18:59,299 INFO [main] hbase.ResourceChecker(157): after master.cleaner.TestHFileCleaner#testTTLCleaner: 44 threads (was 43), 145 file descriptors (was 145). 0 connections, -thread leak?- > {code} > We should enhance the log to include stack trace of the potentially hanging thread(s) > This work was motivated when I investigated test failure in HBASE-6796 -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira