title: Hadoop: Compressing output of Map-only job
body: <p>I have a a map-only job that outputs in TextOutputFormat.</p>
  
  <p>I currently see three ways of compressing my output:</p>
  
  <ol>
  <li><p>by defining map to compress through mapred.compress.map.output.*</p></li>
  <li><p>by defining output to compress through mapred.output.compression.*</p></li>
  <li><p>by defining the TextOutputFormat to compress through TextOutputFormat.setCompressOutput()</p></li>
  <li><p>by composing one or more of the first 3 possibilities.</p></li>
  </ol>
  
  <p>Any insight on how to do this properly?</p>