Hi,
In the Definitive Guide in page 32, I see these lines conf.setOutputKeyClass(Text.class); conf.setOutputValueClass(IntWritable.class); Is this good to such explicit setting of the output format in configuration or with in reduce method it self. Also, such explicit setting may not be needed at all as the context object knows what is the kind of data it has i.e because in reducer we are already saying context.write(key, new IntWritable(maxValue)); Regards, Raja Nagendra Kumar, C.T.O www.tejasoft.com -Hadoop Adoption Consulting -- View this message in context: http://old.nabble.com/Need-for-output-key-and-value-settings-tp31977853p31977853.html Sent from the Hadoop core-dev mailing list archive at Nabble.com.