You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Karthik Kambatla (JIRA)" <ji...@apache.org> on 2013/03/18 19:32:16 UTC

[jira] [Commented] (YARN-485) TestProcfsProcessTree#testProcessTree() doesn't wait long enough for the process to die

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

Karthik Kambatla commented on YARN-485:
---------------------------------------

Thanks Alejandro. Agree that the mapreduce version has to be removed - create MAPREDUCE-5077 to address that. Moved this patch to YARN, and will update it to fix only the yarn part of the test.
                
> TestProcfsProcessTree#testProcessTree() doesn't wait long enough for the process to die
> ---------------------------------------------------------------------------------------
>
>                 Key: YARN-485
>                 URL: https://issues.apache.org/jira/browse/YARN-485
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 2.0.2-alpha
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>         Attachments: mr-5005.patch
>
>
> TestProcfsProcessTree#testProcessTree fails occasionally with the following stack trace
> {noformat}
> Stack Trace:
> junit.framework.AssertionFailedError: expected:<false> but was:<true>
>         at org.apache.hadoop.util.TestProcfsBasedProcessTree.testProcessTree(TestProcfsBasedProcessTree.java)
> {noformat}
> kill -9 is executed asynchronously, the signal is delivered when the process comes out of the kernel (sys call). Checking if the process died immediately after can fail at times.

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