Re: Accumulator guarantees

2018-05-10 Thread Sergey Zhemzhitsky
As far as I understand updates of the custom accumulators at the driver side happen during task completion [1]. The documentation states [2] that the very last stage in a job consists of multiple ResultTasks, which execute the task and send its output back to the driver application. Also sources pr

Accumulator guarantees

2018-05-10 Thread Sergey Zhemzhitsky
Hi there, Although Spark's docs state that there is a guarantee that - accumulators in actions will only be updated once - accumulators in transformations may be updated multiple times ... I'm wondering whether the same is true for transformations in the last stage of the job or there is a guaran