You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Robert Joseph Evans (JIRA)" <ji...@apache.org> on 2012/12/18 17:52:12 UTC

[jira] [Created] (MAPREDUCE-4888) NLineInputFormat dropps data in 1.1 and beyond

Robert Joseph Evans created MAPREDUCE-4888:
----------------------------------------------

             Summary: NLineInputFormat dropps data in 1.1 and beyond
                 Key: MAPREDUCE-4888
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4888
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv1
    Affects Versions: 1.1.0
            Reporter: Robert Joseph Evans
            Priority: Blocker


When trying to root cause why MAPREDUCE-4782 did not cause us issues on 1.0.2, I found out that HADOOP-7823 introduced essentially the exact same error into org.apache.hadoop.mapred.lib.NLineInputFormat.

In 1.X org.apache.hadoop.mapred.lib.NLineInputFormat and org.apache.hadoop.mapreduce.lib.input.NLineInputFormat are separate implementations.  The latter had an off by one error in it until MAPREDUCE-4782 fixed it. The former had no error in it until HADOOP-7823 introduced it in 1.1 and MAPREDUCE-375 combined the implementations together but picked the implementation with the off by one error in 0.21.

I will attach a patch that exposes the error.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira