[
https://issues.apache.org/jira/browse/HADOOP-8570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704029#comment-13704029
]
Shinichi Yamashita commented on HADOOP-8570:
--------------------------------------------
Hi,
I attach the patch file which added a method to define the additional
extensions to CompressionCodec. This method getOtherExtensions() defines the
additional extensions in comma-separated value, and defines null when there is
not additional extension.
> Bzip2Codec should accept .bz files too
> --------------------------------------
>
> Key: HADOOP-8570
> URL: https://issues.apache.org/jira/browse/HADOOP-8570
> Project: Hadoop Common
> Issue Type: Improvement
> Components: io
> Affects Versions: 1.0.0, 2.0.0-alpha
> Reporter: Harsh J
> Labels: bzip, newbie
> Attachments: HADOOP-8570.patch
>
>
> The default extension reported for Bzip2Codec today is ".bz2". This causes it
> not to pick up .bz files as Bzip2Codec files. Although the extension is not
> very popular today, it is still mentioned as a valid extension in the bunzip
> manual and we should support it.
> We should change the Bzip2Codec default extension to "bz", or we should add
> in a new extension list support to allow for better detection across various
> aliases.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira