Hi Praveen,
>that data can be pulled using the new MR API The next key value pair can be retrieved from the context object which is passed to the map, by calling nextKeyValue() on it. So you will be able to pull the next data from it in the new API. Regards, Ravi Teja _____ From: Praveen Sripati [mailto:praveensrip...@gmail.com] Sent: Saturday, September 24, 2011 7:13 PM To: mapreduce-user@hadoop.apache.org Subject: How to pull data in the Map/Reduce functions? Hi, Normally the Hadoop framework calls the map()/reduce() for each record in the input split. I read in the 'Hadoop : The Definitive Guide' that that data can be pulled using the new MR API. What is the new API for pulling the data in the map()/reduce() or is there a sample code? Thanks, Praveen