After more reading, I know the state is distributed across the cluster. But If I need to lookup a map in the updatefunction, I need to broadcast it.
Just want to make sure I am on the right path. Appreciate your help. Thanks On Wed, Jan 25, 2017 at 2:33 PM, shyla deshpande <deshpandesh...@gmail.com> wrote: > Is it executed on the driver or executor. If I need to lookup a map in > the updatefunction, I need to broadcast it, if mapWithState executed runs > on executor. > > Thanks >