title: Unzip files using hadoop streaming
body: <p>I have many files in HDFS, all of them a zip file with one CSV file inside it.
  I'm trying to uncompress the files so I can run a streaming job on them.</p>
  
  <p>I tried:</p>
  
  <pre><code>hadoop jar /usr/lib/hadoop-mapreduce/hadoop-streaming.jar \
      -D mapred.reduce.tasks=0 \
      -mapper /bin/zcat -reducer /bin/cat \
      -input /path/to/files/ \
      -output /path/to/output
  </code></pre>
  
  <p>However I get an error (<code>subprocess failed with code 1</code>)
  I also tried running on a single file, same error.</p>
  
  <p>Any advice?</p>