QuestionQ101

VerifiedCost & Performance Optimisation

Each configuration below is identical in that every cluster has 400 GB of total RAM, 160 total cores, and only one Executor per VM.

For an extremely long-running job whose completion must be guaranteed, which cluster configuration can guarantee completion despite one or more VM failures?

Explanation

Configuration B distributes the same 400 GB of RAM and 160 cores across 16 independent executors. A failed VM removes only 25 GB and 10 cores, leaving the greatest remaining executor capacity and the most independent executors for Spark to rerun work affected by executor loss. Fewer, larger VMs lose a larger share of the cluster’s capacity per VM failure; a one-VM cluster has no executor-level redundancy. Databricks documents that executor-preemption task failures can be retried without being counted as failures that cause the job to fail.

Learn more

Community Discussion

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