Apache Spark вопросы и ответы для интервью
Question: What is the Broadcast variable in Spark and when is it used?Answer: A Broadcast variable is a read-only variable cached on each worker node. It is used to efficiently distribute large read-only data structures, such as lookup tables, to all tasks in a Spark job.Example:
|
Сохранить для повторения
Добавьте этот элемент в закладки, отметьте как сложный или поместите в набор для повторения.
Войдите, чтобы сохранять закладки, сложные вопросы и наборы для повторения.
Это полезно? Да Нет
Самое полезное по оценкам пользователей:
- What is the purpose of the Spark SQL module?
- Explain the difference between narrow and wide transformations in Spark.