Where do you want the setup and cleanup functions to run? Driver or the worker nodes?
Jianshi On Fri, Nov 14, 2014 at 10:44 AM, Dai, Kevin <yun...@ebay.com> wrote: > HI, all > > > > Is there setup and cleanup function as in hadoop mapreduce in spark which > does some initialization and cleanup work? > > > > Best Regards, > > Kevin. > -- Jianshi Huang LinkedIn: jianshi Twitter: @jshuang Github & Blog: http://huangjs.github.com/