hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAPREDUCE-5714) TestMRAppComponentDependencies causes surefire to exit without saying proper goodbye
Date Sat, 26 Apr 2014 18:10:21 GMT

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

Hudson commented on MAPREDUCE-5714:
-----------------------------------

SUCCESS: Integrated in Hadoop-trunk-Commit #5578 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/5578/])
MAPREDUCE-5714. Removed forceful JVM exit in shutDownJob.  
                (Jinghui Wang via Eric Yang) (eyang: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1590263)
* /hadoop/common/trunk/hadoop-mapreduce-project/CHANGES.txt
* /hadoop/common/trunk/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-app/src/main/java/org/apache/hadoop/mapreduce/v2/app/MRAppMaster.java


> TestMRAppComponentDependencies causes surefire to exit without saying proper goodbye
> ------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-5714
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-5714
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: test
>    Affects Versions: 2.2.0
>         Environment: RHEL 6.4 
>            Reporter: Jinghui Wang
>            Assignee: Jinghui Wang
>             Fix For: trunk, 2.4.1
>
>         Attachments: MAPREDUCE-5714.patch
>
>
> When running test TestMRAppComponentDependencies, surefire exits with the following message:

> Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test)
on project hadoop-mapreduce-client-app: ExecutionException; nested exception is java.util.concurrent.ExecutionException:
java.lang.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash
or System.exit called ?
> The following code is found in o.a.h.mapreduce.v2.app.MRAppMaster#shutDownJob, which
the test case inherits. So, before the test testComponentStopOrder completes in TestMRAppComponentDependencies,
shutDownJob finishes executing and exits the JVM, thus causing the error. Based on the comment,
the System.exit(0) is there as a workaround for before HADOOP-7140. Since the patch for HADOOP-7140
is committed in branch-2, are we safe to remove the System.exit call now.
>     //Bring the process down by force.
>     //Not needed after HADOOP-7140
>     LOG.info("Exiting MR AppMaster..GoodBye!");
>     sysexit();
>  



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message