title: hadoop job with single mapper and two different reducers
body: <p>I have a large document corpus as an input to a MapReduce job (old hadoop API). In the mapper, I can produce two kinds of output: one counting words and one producing minHash signatures. What I need to do is:</p>
  <ol>
  <li>give the word counting output to one reducer class (a typical WordCount reducer) and</li>
  <li>give the minHash signatures to another reducer class (performing some calculations on the size of the buckets).</li>
  </ol>
  <p>The input is the same corpus of documents and there is no need to process it twice. I think that MultipleOutputs is not the solution, as I cannot find a way to give my Mapper output to two different Reduce classes.</p>
  <p>In a nutshell, what I need is the following:</p>
  <blockquote>
  <pre><code>               WordCounting Reducer   --&gt; WordCount output
               / 
  </code></pre>
  <p>Input --&gt; Mapper <br/></p>
  <pre><code>             \ 
                MinHash Buckets Reducer --&gt; MinHash output
  </code></pre>
  </blockquote>
  <p>Is there any way to use the same Mapper (in the same job), or should I split that in two jobs?</p>