Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 24CAB98B0 for ; Tue, 9 Oct 2012 00:46:04 +0000 (UTC) Received: (qmail 32721 invoked by uid 500); 9 Oct 2012 00:46:03 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 32664 invoked by uid 500); 9 Oct 2012 00:46:03 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 32568 invoked by uid 99); 9 Oct 2012 00:46:03 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2012 00:46:03 +0000 Date: Tue, 9 Oct 2012 00:46:03 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: <1610562427.11801.1349743563676.JavaMail.jiratomcat@arcas> In-Reply-To: <1704499012.4135.1349485562961.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (HADOOP-8894) GenericTestUtils.waitFor should dump thread stacks on timeout 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/HADOOP-8894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13472003#comment-13472003 ] Hudson commented on HADOOP-8894: -------------------------------- Integrated in Hadoop-Common-trunk-Commit #2830 (See [https://builds.apache.org/job/Hadoop-Common-trunk-Commit/2830/]) HADOOP-8894. GenericTestUtils.waitFor should dump thread stacks on timeout. Contributed by Todd Lipcon. (Revision 1395825) Result = SUCCESS todd : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1395825 Files : * /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/GenericTestUtils.java * /hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/test/TimedOutTestsListener.java > GenericTestUtils.waitFor should dump thread stacks on timeout > ------------------------------------------------------------- > > Key: HADOOP-8894 > URL: https://issues.apache.org/jira/browse/HADOOP-8894 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Todd Lipcon > Assignee: Todd Lipcon > Fix For: 3.0.0, 2.0.3-alpha > > Attachments: hadoop-8894.txt, hadoop-8894.txt > > > Many tests use this utility to wait for a condition to become true. In the event that it times out, we should dump all the thread stack traces, in case the timeout was due to a deadlock. This should make it easier to debug scenarios like HDFS-4001. -- 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