On Mon, Jul 13, 2009 at 8:57 AM, Rares Vernica<[email protected]> wrote: > > I would like to pass a hash map trough map/reduce functions. Does > anybody know a HashMap implementation that is Writable?
I found the answer. I can put the HashMap in a org.apache.pig.data.Tuple (DefaultTuple to be more exact) and the tuple writer method knows how to write a Map (including a HashMap). Cheers, Rares
