I posted a query @ mapreduce-user@hadoop.apache.org and got the answer.
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.
Is the performance of pull better than push in this scenario? Also, what are the scenarios in which the pull will be useful?
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…