Author: vinodkv
Date: Tue Mar 11 01:29:56 2014
New Revision: 1576170

URL: http://svn.apache.org/r1576170
Log:
MAPREDUCE-5028. Fixed a bug in MapTask that was causing mappers to fail when a 
large value of io.sort.mb is set. Contributed by Karthik Kambatla.

Modified:
    
hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/DataInputBuffer.java

Modified: 
hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/DataInputBuffer.java
URL: 
http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/DataInputBuffer.java?rev=1576170&r1=1576169&r2=1576170&view=diff
==============================================================================
--- 
hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/DataInputBuffer.java
 (original)
+++ 
hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/DataInputBuffer.java
 Tue Mar 11 01:29:56 2014
@@ -90,7 +90,10 @@ public class DataInputBuffer extends Dat
   /** Returns the current position in the input. */
   public int getPosition() { return buffer.getPosition(); }
 
-  /** Returns the length of the input. */
+  /**
+   * Returns the index one greater than the last valid character in the input
+   * stream buffer.
+   */
   public int getLength() { return buffer.getLength(); }
 
 }


Reply via email to