Noos
PT EN
RAN-DBDEA-00097
Ranvier · DBDEA

Exam DBDEA Topics: troubleshooting Difficulty: medium

A shuffle-heavy aggregation job fails repeatedly with `java.lang.OutOfMemoryError: Java heap space` on the executors. The Spark UI shows long garbage-collection pauses and heavy spill on the failing stage, and the cluster uses the smallest general-purpose worker type, with each node running multiple concurrent tasks. What is the most effective fix?

Options (Reading Mode) Click to filter discussion →
  1. A. Increase driver memory, because the driver's heap backs every executor task on the cluster
  2. B. Decrease spark.sql.shuffle.partitions so that fewer tasks run concurrently and the total memory demand of the stage drops accordingly
  3. C. Bigger workers (more memory per executor) plus more shuffle partitions, so each task handles less data
  4. D. Disable the Spark UI for this job to release the executor heap consumed by the event timeline
Reveal answer

Correct answer: Bigger workers (more memory per executor) plus more shuffle partitions, so each task handles less data

Reference: https://docs.databricks.com/aws/en/compute/cluster-config-best-practices

02 — The Myelin Layer · Canonical Discussion

Where the exam tries to trick you — and how those who passed solved it.

0 Passed

contributed to this question

Answer Distractor Matrix Click an option to filter or open its dissection.
✦ Consolidated Synthesis (Wiki) rev. #1 (baseline) · CC BY-SA 4.0
Start synthesis for this question →

No community synthesis consolidated for this question yet. Below is the verifiable official starting point — if you passed the exam, open the option dissection.

Official Answer (C): Bigger workers (more memory per executor) plus more shuffle partitions, so each task handles less data

Ranvier · DBDEA

Contribute to this Question

Your contribution builds your Orbital Sheath

Peer contributions

No public contribution yet. Be the first who passed to explain why the distractors trick candidates — your contribution builds your Orbital Sheath.