当前位置: 动力学知识库 > 问答 > 编程问答 >

How to write Hadoop Compression/Decompression codec for LZMA2?

问题描述:

I want to write an Hadoop decompression codec for LZMA2 that can read .xz files.

This is my assignment and I am totally new to Compression or Decompression codec.

I am seeking some guidance on this issue.From where I should start and where I will get corresponding help for this task?

网友答案:

You will need to implement the CompressionCodec interface as well as Compressor and Decompressor for LZMA2. You can look at the GzipCodec code in Hadoop for an example of how to do this.

分享给朋友:
您可能感兴趣的文章:
随机阅读: