You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chris Douglas (JIRA)" <ji...@apache.org> on 2010/05/21 13:46:16 UTC
[jira] Updated: (HADOOP-6714) FsShell 'hadoop fs -text' does not
support compression codecs
[ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Chris Douglas updated HADOOP-6714:
----------------------------------
Status: Resolved (was: Patch Available)
Hadoop Flags: [Reviewed]
Resolution: Fixed
+1
I committed this. Thanks, Patrick!
> FsShell 'hadoop fs -text' does not support compression codecs
> -------------------------------------------------------------
>
> Key: HADOOP-6714
> URL: https://issues.apache.org/jira/browse/HADOOP-6714
> Project: Hadoop Common
> Issue Type: Improvement
> Reporter: Patrick Angeles
> Assignee: Patrick Angeles
> Attachments: HADOOP-6714.patch
>
>
> Currently, 'hadoop fs -text myfile' looks at the first few magic bytes of a file to determine whether it is gzip compressed or a sequence file. This means 'fs -text' cannot properly decode .deflate or .bz2 files (or other codecs specified via configuration).
> It should be fairly straightforward to add support for other codecs by checking the file extension against the CompressionCodecFactory to retrieve an appropriate Codec.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.