hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject svn commit: r732617 - in /hadoop/core/trunk: CHANGES.txt src/test/org/apache/hadoop/mapred/TestTrackerBlacklistAcrossJobs.java
Date Thu, 08 Jan 2009 05:59:30 GMT
Author: ddas
Date: Wed Jan  7 21:59:30 2009
New Revision: 732617

URL: http://svn.apache.org/viewvc?rev=732617&view=rev
Log:
HADOOP-4787. Fixes the testcase TestTrackerBlacklistAcrossJobs which was earlier failing randomly.
Contributed by Amareshwari Sriramadasu.

Modified:
    hadoop/core/trunk/CHANGES.txt
    hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestTrackerBlacklistAcrossJobs.java

Modified: hadoop/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=732617&r1=732616&r2=732617&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Wed Jan  7 21:59:30 2009
@@ -546,6 +546,9 @@
 
     HADOOP-4949. Fix native compilation. (Chris Douglas via acmurthy) 
 
+    HADOOP-4787. Fixes the testcase TestTrackerBlacklistAcrossJobs which was
+    earlier failing randomly. (Amareshwari Sriramadasu via ddas)
+
 Release 0.19.1 - Unreleased
 
   IMPROVEMENTS

Modified: hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestTrackerBlacklistAcrossJobs.java
URL: http://svn.apache.org/viewvc/hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestTrackerBlacklistAcrossJobs.java?rev=732617&r1=732616&r2=732617&view=diff
==============================================================================
--- hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestTrackerBlacklistAcrossJobs.java
(original)
+++ hadoop/core/trunk/src/test/org/apache/hadoop/mapred/TestTrackerBlacklistAcrossJobs.java
Wed Jan  7 21:59:30 2009
@@ -71,7 +71,6 @@
                                  new Path(inDir + "/file"), (short) 1);
     // start mr cluster
     JobConf jtConf = new JobConf();
-    jtConf.setInt("mapred.max.tracker.failures", 1);
     jtConf.setInt("mapred.max.tracker.blacklists", 1);
     mr = new MiniMRCluster(3, fileSys.getUri().toString(),
                            1, null, hosts, jtConf);
@@ -79,6 +78,7 @@
     // setup job configuration
     JobConf mrConf = mr.createJobConf();
     JobConf job = new JobConf(mrConf);
+    job.setInt("mapred.max.tracker.failures", 1);
     job.setNumMapTasks(30);
     job.setNumReduceTasks(0);
     job.setMapperClass(SleepJobFailOnHost.class);



Mime
View raw message