title: Easiest efficient way to zip output of hadoop mapreduce
body: <p>I can compress mapreduce output to gzip with</p>
  
  <pre><code>"mapred.output.compression.codec=org.apache.hadoop.io.compress.GzipCodec"
  </code></pre>
  
  <p>Will it be straightforward to implement zip codec for hadoop? Zip is container, but I need only one file per archive, so would it be easy to create <code>ZipCodec</code> with <code>CompressionCodec</code> interface?</p>
  
  <p>Or, maybe there is an efficient way to convert <code>gz</code> files to <code>zip</code>s, since they can use same deflate algorithm?</p>