You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Junping Du (JIRA)" <ji...@apache.org> on 2013/09/16 08:10:52 UTC

[jira] [Updated] (HADOOP-9964) O.A.H.U.ReflectionUtils.printThreadInfo() is not thread-safe which cause TestHttpServer pending 10 minutes or longer.

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

Junping Du updated HADOOP-9964:
-------------------------------

    Attachment: jstack-runTestHttpServer.log

Attached the log of TestHttpServer in deadlock case. It happens more than 60% on my local machines. Although it can be successful at last (may be for some timeout happen), the dead lock do exists.
                
> O.A.H.U.ReflectionUtils.printThreadInfo() is not thread-safe which cause TestHttpServer pending 10 minutes or longer.
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-9964
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9964
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: jstack-runTestHttpServer.log
>
>
> The printThreadInfo() in ReflectionUtils is not thread-safe which cause two or more threads calling this method from StackServlet to deadlock. 

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