What is an "Accumulator"?



What is an "Accumulator"?..

Answer / Omkar Singh

An Accumulator is a variable that can be updated across different parallel tasks in Apache Spark. It allows aggregating values from multiple tasks and is useful for computations such as counting the number of occurrences of a certain value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Apache Spark Interview Questions

Do I need to know scala to learn spark?

1 Answers  


What is Spark DataFrames?

1 Answers  


What is the difference between rdd and dataframe in spark?

1 Answers  


What is hadoop spark?

1 Answers  


What is mllib?

1 Answers  


What is flatmap?

1 Answers  


What is spark ml?

1 Answers  


What is a dataset? What are its advantages over dataframe and rdd?

1 Answers  


Does spark use zookeeper?

1 Answers  


Define parquet file format? How to convert data to parquet format?

1 Answers  


What are the types of cluster managers in spark?

1 Answers  


What is a DStream?

1 Answers  


Categories