hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1063503 - in /hadoop/mapreduce/trunk: CHANGES.txt src/contrib/capacity-scheduler/src/test/org/apache/hadoop/mapred/TestCapacitySchedulerWithJobTracker.java
Date Tue, 25 Jan 2011 22:58:03 GMT
Author: todd
Date: Tue Jan 25 22:58:03 2011
New Revision: 1063503

URL: http://svn.apache.org/viewvc?rev=1063503&view=rev
Log:
MAPREDUCE-2277. TestCapacitySchedulerWithJobTracker needs to wait for jobs to complete before
testing status. Contributed by Todd Lipcon

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/contrib/capacity-scheduler/src/test/org/apache/hadoop/mapred/TestCapacitySchedulerWithJobTracker.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=1063503&r1=1063502&r2=1063503&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Tue Jan 25 22:58:03 2011
@@ -492,6 +492,9 @@ Release 0.22.0 - Unreleased
     MAPREDUCE-2238. Fix permissions handling to avoid leaving undeletable directories
     in local dirs. (todd)
 
+    MAPREDUCE-2277. TestCapacitySchedulerWithJobTracker needs to wait for jobs to
+    complete before testing status. (todd)
+
 Release 0.21.1 - Unreleased
 
   NEW FEATURES

Modified: hadoop/mapreduce/trunk/src/contrib/capacity-scheduler/src/test/org/apache/hadoop/mapred/TestCapacitySchedulerWithJobTracker.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/contrib/capacity-scheduler/src/test/org/apache/hadoop/mapred/TestCapacitySchedulerWithJobTracker.java?rev=1063503&r1=1063502&r2=1063503&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/contrib/capacity-scheduler/src/test/org/apache/hadoop/mapred/TestCapacitySchedulerWithJobTracker.java
(original)
+++ hadoop/mapreduce/trunk/src/contrib/capacity-scheduler/src/test/org/apache/hadoop/mapred/TestCapacitySchedulerWithJobTracker.java
Tue Jan 25 22:58:03 2011
@@ -124,6 +124,7 @@ public class TestCapacitySchedulerWithJo
     SleepJob sleepJob2 = new SleepJob();
     sleepJob2.setConf(conf2);
     jobs[1] = sleepJob2.createJob(3, 3, 5, 3, 5, 3);
+    jobs[0].waitForCompletion(false);
     jobs[1].waitForCompletion(false);
     assertTrue(
       "Sleep job submitted to queue 1 is not successful", jobs[0]



Mime
View raw message