Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7842

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

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: io
    • Labels:

      Description

      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

        Attachments

        1. HADOOP-7842.patch
          4 kB
          Kang Xiao

          Activity

            People

            • Assignee:
              xiaokang Kang Xiao
              Reporter:
              xiaokang Kang Xiao
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: