hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r425348 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java
Date Tue, 25 Jul 2006 09:22:57 GMT
Author: cutting
Date: Tue Jul 25 02:22:56 2006
New Revision: 425348

URL: http://svn.apache.org/viewvc?rev=425348&view=rev
Log:
HADOOP-380.  Fix reduce tasks to poll less frequently for map outputs.

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

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?rev=425348&r1=425347&r2=425348&view=diff
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Tue Jul 25 02:22:56 2006
@@ -76,6 +76,9 @@
 21. HADOOP-344.  Fix some Windows-related problems with DF.
     (Konstantin Shvachko via cutting)
 
+22. HADOOP-380.  Fix reduce tasks to poll less frequently for map
+    outputs. (Mahadev Konar via cutting)
+
 
 Release 0.4.0 - 2006-06-28
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java?rev=425348&r1=425347&r2=425348&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/ReduceTaskRunner.java Tue Jul 25
02:22:56 2006
@@ -528,7 +528,7 @@
       } catch (InterruptedException ie) { } // IGNORE
       currentTime = System.currentTimeMillis();
     }
-    lastPollTime = pollTime;
+    lastPollTime = currentTime;
 
     return jobClient.locateMapOutputs(reduceTask.getJobId().toString(), 
                                       neededIds,



Mime
View raw message