Author: mahadev
Date: Tue May 17 22:51:25 2011
New Revision: 1104615
URL: http://svn.apache.org/viewvc?rev=1104615&view=rev
Log:
Fix the tests to use jvm fork mode to avoid errors in shutting down services
(sidharth seth)
Modified:
hadoop/mapreduce/branches/MR-279/CHANGES.txt
hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml
hadoop/mapreduce/branches/MR-279/pom.xml
Modified: hadoop/mapreduce/branches/MR-279/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/CHANGES.txt?rev=1104615&r1=1104614&r2=1104615&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/CHANGES.txt (original)
+++ hadoop/mapreduce/branches/MR-279/CHANGES.txt Tue May 17 22:51:25 2011
@@ -4,6 +4,9 @@ Trunk (unreleased changes)
MAPREDUCE-279
+ Fix the tests to use jvm fork mode to avoid errors in shutting down
+ services (sidharth seth)
+
Fixed Composite Service to shutdown services if an error occurs on
starting any one of those (mahadev & chris)
Modified:
hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml
URL:
http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml?rev=1104615&r1=1104614&r2=1104615&view=diff
==============================================================================
---
hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml
(original)
+++
hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/pom.xml
Tue May 17 22:51:25 2011
@@ -13,6 +13,7 @@
<properties>
<install.file>${project.artifact.file}</install.file>
+ <fork.mode>always</fork.mode>
</properties>
<dependencies>
Modified: hadoop/mapreduce/branches/MR-279/pom.xml
URL:
http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/pom.xml?rev=1104615&r1=1104614&r2=1104615&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/pom.xml (original)
+++ hadoop/mapreduce/branches/MR-279/pom.xml Tue May 17 22:51:25 2011
@@ -18,6 +18,7 @@
<yarn.version>1.0-SNAPSHOT</yarn.version>
<install.pom>${project.build.directory}/saner-pom.xml</install.pom>
<install.file>${install.pom}</install.file>
+ <fork.mode>once</fork.mode>
</properties>
<repositories>
@@ -158,6 +159,7 @@
<failIfNoTests>false</failIfNoTests>
<redirectTestOutputToFile>${test.logs}</redirectTestOutputToFile>
<forkedProcessTimeoutInSeconds>${test.timeout}</forkedProcessTimeoutInSeconds>
+ <forkMode>${fork.mode}</forkMode>
<environmentVariables>
<JAVA_HOME>${java.home}</JAVA_HOME>
</environmentVariables>