[ 
https://issues.apache.org/jira/browse/HADOOP-8755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446504#comment-13446504
 ] 

Aaron T. Myers commented on HADOOP-8755:
----------------------------------------

Hey Andrey, can you comment on what testing of this patch you've done? I tried 
the following, but it didn't work as I expected:

# Applying the patch you posted here.
# Lower the configured test timeout in hadoop-project/pom.xml from 900 seconds 
to 5 seconds.
# Add a "Thread.sleep(10 * 1000)" (10 seconds) to an HDFS test case.
# Running the modified HDFS test case.

The test timed out as I intended it to, but I couldn't find the thread dump 
output anywhere - not in the test output file, and not on the console. Where 
should I be looking, or what am I missing?

Thanks a lot.
                
> Print thread dump when tests fail due to timeout 
> -------------------------------------------------
>
>                 Key: HADOOP-8755
>                 URL: https://issues.apache.org/jira/browse/HADOOP-8755
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>    Affects Versions: 1.0.3, 0.23.1, 2.0.0-alpha
>            Reporter: Andrey Klochkov
>            Assignee: 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

Reply via email to