hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8894) GenericTestUtils.waitFor should dump thread stacks on timeout
Date Sat, 06 Oct 2012 01:12:04 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-8894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Todd Lipcon updated HADOOP-8894:

    Status: Patch Available  (was: Open)

submitting patch to Jenkins. I did a manual test by changing a waitFor() call to only wait
1ms, and verified that the exception had the expected info.
> 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
>         Attachments: 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

View raw message