hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lianhui Wang (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-6714) FsShell 'hadoop fs -text' does not support compression codecs
Date Wed, 29 Dec 2010 15:31:49 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-6714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12975803#action_12975803
] 

Lianhui Wang commented on HADOOP-6714:
--------------------------------------

that 's great. but if a uncompressed that  the first character of it is  the same as the header
of compressed files, that is a error.
in addition, can we use FileOutputSteam  instead of stdout´╝č

> 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-20-1.patch, 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.


Mime
View raw message