I think you can just define the data structures in your map classinit it in
setup(Context context) and use it in your map method
hope it is helpful!

2009/6/16 snowloong <snowlo...@gmail.com>

> Hi,
> I want to share some data structures for the map tasks on a same node(not
> through files), I mean, if one map task has already initialized some data
> structures (e.g. an array or a list), can other map tasks share these
> memorys and directly access them, for I don't want to reinitialize these
> datas and I want to save some memory. Can hadoop help me do this?
> thanks
>
> 2009-06-16
>
>
>
> snowloong
>

Reply via email to