title: Hadoop custom Mapper output format to Reducer
body: <p>Pretty new to HDFS:</p>
  
  <p>Correct me if I am wrong but to my knowledge:</p>
  
  <p><code>Mapper&lt;Object, Text, Text, Text&gt;</code></p>
  
  <p>The last two <code>Text</code> are the return types of the Mapper. Say I wanted to return <code>Text, &lt;Text, IntWriteable&gt;</code>. How could I achieve this? Also, where in the documentation should I look?</p>
  
  <p>For example, after the mapper receives the Object and Text, it does some logic with the lines of data in the input file, I want it to return something like</p>
  
  <p><code>context.write(Text,[Text, IntWriteable])</code></p>