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/20 18:23:13 UTC

[jira] [Comment Edited] (MAPREDUCE-4888) NLineInputFormat drops data in 1.1 and beyond

    [ https://issues.apache.org/jira/browse/MAPREDUCE-4888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13537170#comment-13537170 ] 

Robert Joseph Evans edited comment on MAPREDUCE-4888 at 12/20/12 5:21 PM:
--------------------------------------------------------------------------

I am +1 too.  My only comment is you may want to delete out my debugging System.out.println calls in the test.
                
      was (Author: revans2):
    I am +1 of it too.  My only comment is you may want to delete out my debugging System.out.println calls in the test.
                  
> NLineInputFormat drops 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
>            Assignee: Vinod Kumar Vavilapalli
>            Priority: Blocker
>         Attachments: MAPREDUCE-4888-20121219.txt, test.patch
>
>
> 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