Farhan, In hadoop 0.20.x, using context.write(key,value) instead of outputcollector.collect(key,value). And It's the RecordWriter in Context do the write operation.
Jeff Zhang -----Original Message----- From: Farhan Husain [mailto:[email protected]] Sent: 2009年12月17日 14:48 To: [email protected] Subject: context.collect The tutorial for the latest version uses MapReduceBase which is deprecated. I tried to use the latest Mapper and Reducer classes as bases for my classes. However, the javadoc page for those classes show something like this: context.collect(word, one) whereas the Context class and none of its descendants have any method called collect. What should be the correct code here? Thanks, Farhan
