You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Andrey Klochkov (JIRA)" <ji...@apache.org> on 2012/09/01 01:28:08 UTC

[jira] [Updated] (HDFS-3762) Print thread dump when tests fail due to timeout

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

Andrey Klochkov updated HDFS-3762:
----------------------------------

    Attachment: HDFS-3762.patch
                HDFS-3762-branch-0.23.patch

Found that hadoop-auth won't run "test" target due to the class TestTimedOutListener absence in the classpath. Turns out that there are projects which do not depend on hadoop-common. Changed the patch to enable the listener in specific projects (HDFS, M/R and Yarn) instead of doing this in hadoop-project/pom.xml
                
> Print thread dump when tests fail due to timeout 
> -------------------------------------------------
>
>                 Key: HDFS-3762
>                 URL: https://issues.apache.org/jira/browse/HDFS-3762
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 0.23.1, 1.0.3, 2.0.0-alpha
>            Reporter: Andrey Klochkov
>         Attachments: HDFS-3762-branch-0.23.patch, HDFS-3762.patch, HDFS-3762.patch, HDFS-3762.patch, HDFS-3762.patch, HDFS-3762.patch
>
>
> When a test fails due to timeout it's often not clear what is the root cause. See HDFS-3364 as an example.
> We can print dump of all threads in this case, this may help finding causes.

--
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