[ 
https://issues.apache.org/jira/browse/PIG-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580381#action_12580381
 ] 

Pi Song commented on PIG-151:
-----------------------------

The solution looks good.

- would be better if the unit test only does test 
CBZip2OutputStream/CBZip2InputStream.

> Zero length BZip files are not generated correctly
> --------------------------------------------------
>
>                 Key: PIG-151
>                 URL: https://issues.apache.org/jira/browse/PIG-151
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Benjamin Reed
>            Assignee: Benjamin Reed
>         Attachments: bz.patch
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to