Pig
  1. Pig
  2. PIG-151

Zero length BZip files are not generated correctly

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1.0
    • Component/s: impl
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      If a zero length BZIp file is created as a result of a store, the resulting BZIp file will be invalid: it will have part of the BZip header, but it will be missing everything else. The BZip library does not behave correctly when a BZip file is created and nothing is written before the close.

      1. bz.patch
        6 kB
        Benjamin Reed
      2. bz.patch
        2 kB
        Benjamin Reed

        Activity

        Benjamin Reed created issue -
        Benjamin Reed made changes -
        Field Original Value New Value
        Attachment bz.patch [ 12377947 ]
        Olga Natkovich made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Benjamin Reed made changes -
        Attachment bz.patch [ 12380900 ]
        Olga Natkovich made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Olga Natkovich made changes -
        Fix Version/s 0.1.0 [ 12312848 ]
        Alan Gates made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Benjamin Reed
            Reporter:
            Benjamin Reed
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development