Answer Posted / Manish Kumar Gupta
An Accumulator in Apache Spark is a variable that can be updated across different tasks during an operation. It provides a convenient way to keep track of aggregated results while performing computations on large datasets. Accumulators are useful for iterative algorithms, reducing the need to shuffle data back and forth between nodes.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers