You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by om...@apache.org on 2011/03/04 04:34:50 UTC

svn commit: r1077039 - /hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java

Author: omalley
Date: Fri Mar  4 03:34:50 2011
New Revision: 1077039

URL: http://svn.apache.org/viewvc?rev=1077039&view=rev
Log:
commit dae209baa1d7535918e3a29970f14b2ec43da1a1
Author: Hemanth Yamijala <yh...@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)
    +

Modified:
    hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java

Modified: hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java?rev=1077039&r1=1077038&r2=1077039&view=diff
==============================================================================
--- hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java (original)
+++ hadoop/common/branches/branch-0.20-security-patches/src/mapred/org/apache/hadoop/mapred/JobInProgress.java Fri Mar  4 03:34:50 2011
@@ -1213,9 +1213,6 @@ class JobInProgress {
       
       // Now launch the cleanupTask
       Task result = tip.getTaskToRun(tts.getTrackerName());
-      if (result != null) {
-        addRunningTaskToTIP(tip, result.getTaskID(), tts, true);
-      }
 
       if (result != null) {
         addRunningTaskToTIP(tip, result.getTaskID(), tts, true);