samarth
samarth

Reputation: 4024

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?

Upvotes: 0

Views: 911

Answers (1)

Steve Severance
Steve Severance

Reputation: 6646

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.

Upvotes: 1

Related Questions