hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r570937 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/JobTracker.java
Date Wed, 29 Aug 2007 21:35:31 GMT
Author: cutting
Date: Wed Aug 29 14:35:30 2007
New Revision: 570937

URL: http://svn.apache.org/viewvc?rev=570937&view=rev
Log:
HADOOP-1798.  Fix jobtracker to correctly account for failed tasks.  Contributed by Owen.

Modified:
    lucene/hadoop/trunk/CHANGES.txt
    lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=570937&r1=570936&r2=570937&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Wed Aug 29 14:35:30 2007
@@ -137,6 +137,9 @@
     HADOOP-1790.  Fix tasktracker to work correctly on multi-homed
     boxes.  (Torsten Curdt via cutting)
 
+    HADOOP-1798.  Fix jobtracker to correctly account for failed
+    tasks.  (omalley via cutting)
+
 
 Release 0.14.0 - 2007-08-17
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java?rev=570937&r1=570936&r2=570937&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/JobTracker.java Wed Aug 29 14:35:30
2007
@@ -1226,7 +1226,7 @@
           // If not first contact, there should be some record of the tracker
           if (!seenBefore) {
             LOG.warn("Status from unknown Tracker : " + trackerName);
-            taskTrackers.remove(trackerName); 
+            updateTaskTrackerStatus(trackerName, null);
             return false;
           }
         }



Mime
View raw message