Re: Best way to access same data into mapper/reducer class

2011-02-21 Thread Chase Bradford
I did a write up on this sort of thing, but it was based on HashSets. You might find it useful: http://chasebradford.wordpress.com/2011/02/05/distributed-cache-static-objects-and-fast-setup/ On Mon, Feb 21, 2011 at 10:57 AM, Shuja Rehman wrote: > Hi All, > > I have a simple question. I have a ar

Best way to access same data into mapper/reducer class

2011-02-21 Thread Shuja Rehman
Hi All, I have a simple question. I have a arraylist which i am populating through db in main class. now i want to use the same list in my map and reduce class so the question is how to access/send this array list in map and reduce class. one way is to again fetch the data in mapper and reducer cl