I would think that it has to be per worker. On Wed, Dec 17, 2014, 6:32 PM Ashic Mahtab <as...@live.com> wrote:
> Hello, > Say, I have the following code: > > let something = Something() > > someRdd.foreachRdd(something.someMethod) > > And in something, I have a lazy member variable that gets created in > something.someMethod. > > Would that lazy be created once per node, or once per partition? > > Thanks, > Ashic. >