You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Arpit Gupta (JIRA)" <ji...@apache.org> on 2012/09/22 00:16:08 UTC

[jira] [Created] (MAPREDUCE-4675) TestKillSubProcesses fails as the process is still alive after the job is done

Arpit Gupta created MAPREDUCE-4675:
--------------------------------------

             Summary: TestKillSubProcesses fails as the process is still alive after the job is done
                 Key: MAPREDUCE-4675
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4675
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: test
    Affects Versions: 1.1.0, 1.2.0
            Reporter: Arpit Gupta
            Assignee: Bikas Saha


I ran this test in branch 1 and branch 1.1 and they both failed with the following

{code}
Testcase: testJobKillFailAndSucceed took 82.219 sec
        FAILED
null
junit.framework.AssertionFailedError: null
        at org.apache.hadoop.mapred.TestKillSubProcesses.validateKillingSubprocesses(TestKillSubProcesses.java:245)
        at org.apache.hadoop.mapred.TestKillSubProcesses.runKillingJobAndValidate(TestKillSubProcesses.java:97)
        at org.apache.hadoop.mapred.TestKillSubProcesses.runTests(TestKillSubProcesses.java:336)
        at org.apache.hadoop.mapred.TestKillSubProcesses.testJobKillFailAndSucceed(TestKillSubProcesses.java:320)
{code}

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

[jira] [Resolved] (MAPREDUCE-4675) TestKillSubProcesses fails as the process is still alive after the job is done

Posted by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kumar Vavilapalli resolved MAPREDUCE-4675.
------------------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.0
     Release Note: Fixed a race condition caused in TestKillSubProcesses caused due to a recent commit.
     Hadoop Flags: Reviewed

Just committed this to branch-1 and branch-1.1. Thanks Bikas! And Arpit for reporting and verifying the fix!
                
> TestKillSubProcesses fails as the process is still alive after the job is done
> ------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-4675
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4675
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 1.1.0, 1.2.0
>            Reporter: Arpit Gupta
>            Assignee: Bikas Saha
>             Fix For: 1.1.0
>
>         Attachments: MAPREDUCE-4675.branch-1.1.patch
>
>
> I ran this test in branch 1 and branch 1.1 and they both failed with the following
> {code}
> Testcase: testJobKillFailAndSucceed took 82.219 sec
>         FAILED
> null
> junit.framework.AssertionFailedError: null
>         at org.apache.hadoop.mapred.TestKillSubProcesses.validateKillingSubprocesses(TestKillSubProcesses.java:245)
>         at org.apache.hadoop.mapred.TestKillSubProcesses.runKillingJobAndValidate(TestKillSubProcesses.java:97)
>         at org.apache.hadoop.mapred.TestKillSubProcesses.runTests(TestKillSubProcesses.java:336)
>         at org.apache.hadoop.mapred.TestKillSubProcesses.testJobKillFailAndSucceed(TestKillSubProcesses.java:320)
> {code}

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