Hello all, I tried using o.a.h.mapred.lib.LongSumReducer in a wordcount-like job. My custom Mapper outputs Text keys and LongWritable values. I expected to get the Text keys in the final output. But instead, I got this:
[EMAIL PROTECTED] 12286 [EMAIL PROTECTED] 5037 [EMAIL PROTECTED] 29786 [EMAIL PROTECTED] 1219 [EMAIL PROTECTED] 1335 [EMAIL PROTECTED] 1705 [EMAIL PROTECTED] 3178 My job configuration looks like this: job.setMapperClass(MyMap.class); job.setReducerClass(LongSumReducer.class); job.setInputFormat(SequenceFileInputFormat.class); job.setOutputFormat(TextOutputFormat.class); job.setOutputKeyClass(Text.class); job.setOutputValueClass(LongWritable.class); Anybody know what's going on here? This is Hadoop 0.17.1. Thanks, -Stuart