Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4888

NLineInputFormat drops data in 1.1 and beyond

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.2
    • Component/s: mrv1
    • Labels:
      None

      Description

      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.

      1. MAPREDUCE-4888-20121219.txt
        5 kB
        Vinod Kumar Vavilapalli
      2. test.patch
        3 kB
        Robert Joseph Evans

        Issue Links

          Activity

          Robert Joseph Evans created issue -
          Robert Joseph Evans made changes -
          Field Original Value New Value
          Summary NLineInputFormat dropps data in 1.1 and beyond NLineInputFormat drops data in 1.1 and beyond
          Robert Joseph Evans made changes -
          Attachment test.patch [ 12561511 ]
          Todd Lipcon made changes -
          Link This issue is broken by HADOOP-7823 [ HADOOP-7823 ]
          Vinod Kumar Vavilapalli made changes -
          Assignee Vinod Kumar Vavilapalli [ vinodkv ]
          Vinod Kumar Vavilapalli made changes -
          Attachment MAPREDUCE-4888-20121219.txt [ 12561826 ]
          Arun C Murthy made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.1.2 [ 12323594 ]
          Resolution Fixed [ 1 ]
          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Vinod Kumar Vavilapalli
              Reporter:
              Robert Joseph Evans
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development