Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5656

bzip2 codec can drop records when reading data in splits

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.0.4-alpha, 0.23.8
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Bzip2Codec.BZip2CompressionInputStream can cause records to be dropped when reading them in splits based on where record delimiters occur relative to compression block boundaries.

      Thanks to Koji Noguchi for discovering this problem while working on PIG-3251.

        Attachments

        1. MAPREDUCE-5656-2.patch
          370 kB
          Jason Darrell Lowe
        2. MAPREDUCE-5656.patch
          370 kB
          Jason Darrell Lowe
        3. HADOOP-9622-testcase.patch
          3 kB
          Jason Darrell Lowe
        4. HADOOP-9622-2.patch
          28 kB
          Jason Darrell Lowe
        5. HADOOP-9622.patch
          24 kB
          Jason Darrell Lowe
        6. blockEndingInCRThenLF.txt.bz2
          133 kB
          Jason Darrell Lowe
        7. blockEndingInCR.txt.bz2
          133 kB
          Jason Darrell Lowe

          Issue Links

            Activity

              People

              • Assignee:
                jlowe Jason Darrell Lowe
                Reporter:
                jlowe Jason Darrell Lowe
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: