The output of the reducer is Text/IntWritable. 

To set the "input" to the reducer you set the mapper output classes. 

Cheers
James

Sent from my mobile. Please excuse the typos.

On 2010-08-25, at 8:13 PM, "Mark" <[email protected]> wrote:

>  job.setOutputKeyClass(Text.class);
> job.setOutputValueClass(IntWritable.class);
> 
> Does this mean the input to the reducer should be Text/IntWritable or 
> the output of the reducer is Text/IntWritable?
> 
> What is the inverse of this.. setInputKeyClass/setInputValueClass? Is 
> this inferred by the JobInputFormatClass? Would someone mind briefly 
> explaining?
> 
> Thanks

Reply via email to