Apache Spark Interviewfragen und Antworten
Question: What is the purpose of the accumulator in Spark?Answer: An accumulator is a variable that can be added to and is used in Spark to implement counters and sums in a parallel and fault-tolerant manner across distributed tasks.Example:
|
Zum Wiederholen speichern
Speichere diesen Eintrag als Lesezeichen, markiere ihn als schwierig oder lege ihn in einem Wiederholungsset ab.
Melde dich an, um Lesezeichen, schwierige Fragen und Wiederholungssets zu speichern.
Ist das hilfreich? Ja Nein
Am hilfreichsten laut Nutzern:
- What is the purpose of the Spark SQL module?
- Explain the difference between narrow and wide transformations in Spark.