Apache Spark perguntas e respostas de entrevista
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:
|
Salvar para revisao
Adicione este item aos favoritos, marque-o como dificil ou coloque-o em um conjunto de revisao.
Faca login para salvar favoritos, perguntas dificeis e conjuntos de revisao.
Isto e util? Sim Nao
Mais uteis segundo os usuarios:
- What is the purpose of the Spark SQL module?
- Explain the difference between narrow and wide transformations in Spark.