Jelajahi Sumber

commit dae209baa1d7535918e3a29970f14b2ec43da1a1
Author: Hemanth Yamijala <yhemanth@yahoo-inc.com>
Date: Wed Oct 28 20:48:45 2009 +0530

MAPREDUCE:947 Additional patch to fix unit test failures from https://issues.apache.org/jira/secure/attachment/12423191/yhadoop20-bug-fix-947.patch

+++ b/YAHOO-CHANGES.txt
+ MAPREDUCE-947. Fix bug in earlier implementation that was
+ causing unit tests to fail.
+ (Ravi Gummadi via yhemanth)
+


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security-patches@1077039 13f79535-47bb-0310-9956-ffa450edef68

Owen O'Malley 14 tahun lalu
induk
melakukan
5e756736c4
1 mengubah file dengan 0 tambahan dan 3 penghapusan
  1. 0 3
      src/mapred/org/apache/hadoop/mapred/JobInProgress.java

+ 0 - 3
src/mapred/org/apache/hadoop/mapred/JobInProgress.java

@@ -1213,9 +1213,6 @@ class JobInProgress {
       
       
       // Now launch the cleanupTask
       // Now launch the cleanupTask
       Task result = tip.getTaskToRun(tts.getTrackerName());
       Task result = tip.getTaskToRun(tts.getTrackerName());
-      if (result != null) {
-        addRunningTaskToTIP(tip, result.getTaskID(), tts, true);
-      }
 
 
       if (result != null) {
       if (result != null) {
         addRunningTaskToTIP(tip, result.getTaskID(), tts, true);
         addRunningTaskToTIP(tip, result.getTaskID(), tts, true);