[
https://issues.apache.org/jira/browse/PIG-151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592876#action_12592876
]
Olga Natkovich commented on PIG-151:
------------------------------------
Ben, thanks for figuring this out.
I have reviewed and tested the patch and will commit it once the SVN is back to
normal.
I agree that this is pretty hacky. I spoke with Owen and in Hadoop 0.17 things
change again so we need to make more more changes. Fortunately, Hadoop is
providing us a way to find the original name provided by the user via a static
method in FileOutputFormat.
Ben, how do we handle gzip files. Do we need to make any changes there?
> 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, 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.