QuestionQ36

VerifiedApache Spark Architecture and Components

A data engineer runs a batch-processing job on a Spark cluster with this configuration:

  • 10 worker nodes
  • 16 CPU cores per worker node
  • 64 GB RAM per node

The data engineer wants to allocate four executors per node, with each executor using four cores.

What is the application's total number of CPU cores used?

Explanation

Four executors using four cores each consume 16 CPU cores per worker node. With 10 worker nodes, the application uses 10 × 16 = 160 CPU cores.

Community Discussion

No comments yet. Be the first to start the discussion!