hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sha...@apache.org
Subject svn commit: r792807 - in /hadoop/mapreduce/trunk: CHANGES.txt src/test/mapred/org/apache/hadoop/mapred/TestNodeRefresh.java
Date Fri, 10 Jul 2009 05:36:22 GMT
Author: sharad
Date: Fri Jul 10 05:36:22 2009
New Revision: 792807

URL: http://svn.apache.org/viewvc?rev=792807&view=rev
Log:
MAPREDUCE-677. Fix timeout in TestNodeRefresh. Contributed by Amar Kamat.

Modified:
    hadoop/mapreduce/trunk/CHANGES.txt
    hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestNodeRefresh.java

Modified: hadoop/mapreduce/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/CHANGES.txt?rev=792807&r1=792806&r2=792807&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/CHANGES.txt (original)
+++ hadoop/mapreduce/trunk/CHANGES.txt Fri Jul 10 05:36:22 2009
@@ -173,3 +173,7 @@
     that are blacklisted for a job.
     (Arun Murthy and Sreekanth Ramakrishnan via yhemanth)
 
+    MAPREDUCE-677. Fix timeout in TestNodeRefresh. (Amar Kamat via 
+    sharad)
+
+

Modified: hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestNodeRefresh.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestNodeRefresh.java?rev=792807&r1=792806&r2=792807&view=diff
==============================================================================
--- hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestNodeRefresh.java (original)
+++ hadoop/mapreduce/trunk/src/test/mapred/org/apache/hadoop/mapred/TestNodeRefresh.java Fri
Jul 10 05:36:22 2009
@@ -387,7 +387,7 @@
 
     File file = new File("hosts.exclude");
     file.delete();
-    startCluster(2, 1, 0, conf);
+    startCluster(1, 1, 0, conf);
     String hostToDecommission = getHostname(1);
     conf = mr.createJobConf(new JobConf(conf));
 
@@ -427,6 +427,10 @@
     // restart the jobtracker
     mr.stopJobTracker();
     mr.startJobTracker();
+    
+    // start a tracker so that the jobs move to completion
+    String newTrackerHostName = getHostname(2);
+    mr.startTaskTracker(newTrackerHostName, null, 2, 1);
 
     // Wait for the JT to be ready
     UtilsForTests.waitForJobTracker(jobClient);



Mime
View raw message