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

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0.4-alpha, 0.23.8
    • 2.3.0
    • None
    • None
    • 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 knoguchi for discovering this problem while working on PIG-3251.

      Attachments

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: