SpinTheMic
Pro

Explain it in 60 seconds

Driver and executors

Data Engineering · Spark · Beginner

Explain the roles of the driver and executors in a Spark application.

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • The driver runs your main program, builds the plan and schedules tasks.
  • Executors run tasks on worker nodes and hold cached data.
  • A cluster manager like YARN, Kubernetes or Databricks allocates resources.
  • collect() brings data back to the driver, which can overload it.
  • Each executor has cores that run tasks in parallel.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics