Variable¶
Broadcast¶
A broadcast variable is read-only, created from the driver program object and made available to the nodes that will execute the computation.
Accumulator¶
An accumulator is also a variable that can be added to with limitation to ensure global sum is correct in parrallel run.