Ver código fonte

HADOOP-199. Fix reduce progress. Contributed by Owen.

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk@405113 13f79535-47bb-0310-9956-ffa450edef68
Doug Cutting 19 anos atrás
pai
commit
3ed02e0cd9
2 arquivos alterados com 4 adições e 1 exclusões
  1. 2 1
      CHANGES.txt
  2. 2 0
      src/java/org/apache/hadoop/mapred/JobTracker.java

+ 2 - 1
CHANGES.txt

@@ -3,7 +3,8 @@ Hadoop Change Log
 
 
 Trunk (unreleased)
 Trunk (unreleased)
 
 
- 1.
+ 1. HADOOP-199.  Fix reduce progress (broken by HADOOP-182).
+    (omalley via cutting)
 
 
 
 
 Release 0.2.0 - 2006-05-05
 Release 0.2.0 - 2006-05-05

+ 2 - 0
src/java/org/apache/hadoop/mapred/JobTracker.java

@@ -967,6 +967,8 @@ public class JobTracker implements MRConstants, InterTrackerProtocol, JobSubmiss
                     // Tell the job to fail the relevant task
                     // Tell the job to fail the relevant task
                     job.failedTask(tip, report.getTaskId(), report, 
                     job.failedTask(tip, report.getTaskId(), report, 
                                    status.getTrackerName());
                                    status.getTrackerName());
+                } else {
+                    job.updateTaskStatus(tip, report);
                 }
                 }
             }
             }
         }
         }