hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kang Xiao (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-7842) a compress tool for test compress/decompress locally use hadoop compress codecs
Date Mon, 21 Nov 2011 08:34:51 GMT
a compress tool for test compress/decompress locally use hadoop compress codecs
-------------------------------------------------------------------------------

                 Key: HADOOP-7842
                 URL: https://issues.apache.org/jira/browse/HADOOP-7842
             Project: Hadoop Common
          Issue Type: Improvement
          Components: io
            Reporter: Kang Xiao
            Assignee: Kang Xiao


add a compress tool for test compress/decompress locally use hadoop compress codecs.

It can be used as follows:

compress a.txt to a.lzo:
hadoop jar test.jar org.apache.hadoop.io.compress.CodecTool org.apache.hadoop.io.compress.LzoCodec
-c 1024 1024 a.txt a.lzo

decompress a.lzo to stdout:
hadoop jar test.jar org.apache.hadoop.io.compress.CodecTool org.apache.hadoop.io.compress.LzoCodec
-x 1024 1024 a.lzo /dev/stdout


--
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

        

Mime
View raw message