Dennis Kubes wrote:
I am trying to read a MapFile inside mapper and reducer implementations. So far the only way I have found to do it is by opening a new reader for each map and reduce call. Is anybody doing something similar and if so is there a way to open a single reader and reuse it across multiple map or reduce calls?
Can't you open it in the configure() implementation? And close it in the close() implementation?
Are you randomly accessing a MapFile from a map() implementation? That's not going to scale very well. MapReduce is designed for sequential access.
Doug
