[
https://issues.apache.org/jira/browse/PIG-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12580390#action_12580390
]
Benjamin Reed commented on PIG-151:
-----------------------------------
Agreed. I made it end to end in part because we don't have an end to end test
of the bzip code. I will add another test that just tests
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.