hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cutt...@apache.org
Subject svn commit: r543622 - in /lucene/hadoop/trunk: CHANGES.txt src/java/org/apache/hadoop/mapred/TaskTracker.java
Date Fri, 01 Jun 2007 21:24:01 GMT
Author: cutting
Date: Fri Jun  1 14:24:00 2007
New Revision: 543622

URL: http://svn.apache.org/viewvc?view=rev&rev=543622
Log:
HADOOP-1452.  Change TaskTracker.MapOutputServlet.doGet.totalRead to a long, permitting map
outputs to exceed 2^31 bytes.  Contributed by Owen.

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

Modified: lucene/hadoop/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/CHANGES.txt?view=diff&rev=543622&r1=543621&r2=543622
==============================================================================
--- lucene/hadoop/trunk/CHANGES.txt (original)
+++ lucene/hadoop/trunk/CHANGES.txt Fri Jun  1 14:24:00 2007
@@ -515,6 +515,10 @@
      only while sorting, so that stuck maps are correctly terminated.
      (Devaraj Das and Arun C Murthy via cutting)
 
+132. HADOOP-1452.  Change TaskTracker.MapOutputServlet.doGet.totalRead
+     to a long, permitting map outputs to exceed 2^31 bytes.
+     (omalley via cutting)
+
 
 Release 0.12.3 - 2007-04-06
 

Modified: lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java?view=diff&rev=543622&r1=543621&r2=543622
==============================================================================
--- lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java (original)
+++ lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/TaskTracker.java Fri Jun  1 14:24:00
2007
@@ -1930,7 +1930,7 @@
         //seek to the correct offset for the reduce
         mapOutputIn.seek(startOffset);
           
-        int totalRead = 0;
+        long totalRead = 0;
         int len = mapOutputIn.read(buffer, 0,
                                    partLength < MAX_BYTES_TO_READ 
                                    ? (int)partLength : MAX_BYTES_TO_READ);



Mime
View raw message