[ 
https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Konstantin Shvachko updated HADOOP-6714:
----------------------------------------

    Fix Version/s: 0.22.0
    
> 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
>             Fix For: 0.22.0
>
>         Attachments: HADOOP-6714.patch, hadoop-6714-20-1.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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to