VAYULearn
Colour theme
Investigate a failure
VAYU Learn

Spark & PySpark

Troubleshooting Databricks: Spark UI, OOM, and the Diagnostic Workflow That Actually Works

DataForge Series: Databricks Data Engineer Associate - Part 11 of 16

Spark & PySparkDatabricks & Lakehouse

The job has been running for four hours. It should take forty minutes. There are no errors in the logs. The Spark UI shows tasks completing — slowly, but completing. You’ve increased the cluster size twice. It’s still slow.

You’re debugging by intuition. Adding resources without understanding the bottleneck. The job is slow because of disk spill — shuffle data that doesn’t fit in executor memory getting written to disk, making every shuffle operation orders of magnitude slower than it should be. Adding more executors doesn’t fix disk spill. It gives you more executors that each spill to disk independently.

The Spark UI had the answer from the beginning. Stage 4 showed Shuffle Spill (Disk): 34GB in the first ten minutes of the run. You weren’t looking at it.

Effective Databricks troubleshooting is not about trying things until something works. It’s about reading the right metrics, in the right order, to identify the specific failure mode before touching any configuration. The diagnostic workflow matters as much as knowing what to do once you’ve identified the problem.

Let’s go deep.


TL;DR

Databricks performance and reliability problems fall into four categories: execution bottlenecks (skew, spill, wrong join strategy), memory failures (executor OOM, driver OOM, container OOM), cluster infrastructure failures (startup failures, library conflicts, node loss), and silent correctness failures (wrong data, missing data, stale results). Each has a specific diagnostic signature and a specific fix. The Spark UI is the primary diagnostic instrument for execution problems. Cluster event logs are the primary instrument for infrastructure problems.

By the end of this article you’ll be able to:

  • Navigate the Spark UI to identify skew, spill, and execution bottlenecks from stage-level metrics
  • Distinguish Java heap OOM from container OOM from driver OOM and apply the correct fix to each
  • Diagnose cluster startup failures and library conflicts from event logs
  • Follow a structured diagnostic workflow that reaches root cause faster than trial-and-error configuration changes

Exam relevance: troubleshooting and monitoring concepts appear in ~5–6 questions. The exam presents Spark UI metrics, error messages, or performance scenarios and asks you to identify the root cause and the correct fix. The wrong answers are always plausible interventions that address a symptom without fixing the root cause.

Four hours of scaling, retrying, and restarting — the answer was in the Spark UI the entire time.
Task 37.199: 5.1GB shuffle read, 18GB disk spill, 47m GC time while 199 other tasks finished in under 3 minutes. Skew and disk spill. Not a cluster size problem.

The Diagnostic Hierarchy: Where to Look First

Before opening any tool, the right question is: what category of problem is this?

Symptom                              Category          Primary instrument
────────────────────────────────────────────────────────────────────────────
Job runs but takes much longer Execution Spark UI → Stage metrics
than expected
One task takes much longer Skew Spark UI → Task distribution
than others
Job fails with OOM Memory Error message type +
executor/driver logs
Job fails before running any tasks Infrastructure Cluster event log
Cluster never starts Infrastructure Cluster event log +
init script logs
Library import fails Library conflict Driver logs +
cluster libraries tab
Job completes but data is wrong Correctness Pipeline logic +
data quality checks

The first diagnostic action for any slow job: open the Spark UI before touching any configuration. Changing configuration without reading the Spark UI is the most common and most expensive troubleshooting mistake — it delays diagnosis by hours and often makes the underlying problem harder to see.


The Spark UI: Navigation and What Each View Tells You

The Spark UI is accessible from the Databricks cluster UI or from a running job’s compute tab. It has five primary views that map to different diagnostic questions.

Spark UI Navigation:

Jobs tab → Which jobs ran, how long, how many stages
Stages tab → Stage-level execution metrics, shuffle details
Tasks tab → Individual task metrics within a stage
Storage tab → Cached DataFrames and RDDs, memory usage
Executors tab → Per-executor memory, disk, and task statistics

The diagnostic entry point is always Stages, not Jobs.

The Jobs tab tells you a job is slow. The Stages tab tells you which stage is slow and why. The Tasks tab within a stage tells you whether the slowness is uniform (memory/configuration problem) or concentrated in one task (skew problem).


Reading Stage Metrics: The Diagnostic Language of Spark

Stage metrics are the primary diagnostic data source. Every performance problem leaves a specific signature in stage metrics.

The Stage Summary Table

Stage 7: Sort Merge Join — Duration: 3h 14m

Metric Min 25th% Median 75th% Max
─────────────────────────────────────────────────────────────
Duration 0.4s 0.6s 0.8s 1.2s 3h14m
Input Size 12MB 15MB 18MB 22MB 18MB
Shuffle Read 180MB 200MB 400MB 420MB 5.1GB
Shuffle Write 45MB 52MB 65MB 70MB 2.1GB
Spill (Memory) 0 0 0 0 2.1GB
Spill (Disk) 0 0 0 0 18GB
GC Time 0.02s 0.03s 0.04s 0.05s 47m

Reading this table:

Duration distribution: min 0.4s, median 0.8s, max 3h 14m. The max is four orders of magnitude larger than the median. This is severe skew — one task is processing vastly more data than all others. The other metrics confirm this.

Shuffle Read distribution: median 400MB, max 5.1GB. One partition received 12.75× the median shuffle data. This is the skewed partition. The max shuffle read identifies which task is slow.

Spill (Disk): 18GB. The skewed partition exceeded executor memory and spilled 18GB to disk. Disk I/O is the reason the task takes 3 hours instead of minutes — not CPU, not network, disk.

GC Time max: 47m. The executor processing the skewed partition spent 47 minutes in garbage collection — a secondary consequence of memory pressure from the oversized partition.

The diagnostic conclusion from this table alone:

  1. Severe data skew (max/median ratio on shuffle read: 12.75×)
  2. The skewed partition exceeded executor memory → disk spill
  3. Disk spill caused the 3h 14m task duration
  4. Fix: AQE skew join handling or salting (Part 6) — not more memory, not more executors

How Stage Metric Diagnosis Actually Works

Trace the diagnostic path from symptom to root cause:

Symptom: Job running 3× longer than expected

Step 1: Open Spark UI → Stages tab
Find the longest-running stage: Stage 7, 3h 14m
All other stages: < 5 minutes

Step 2: Open Stage 7 → Task metrics table
Duration distribution: most tasks < 1s, one task 3h 14m
Diagnosis so far: NOT a uniform slowness problem → skew

Step 3: Check Shuffle Read distribution
Median: 400MB, Max: 5.1GB
Ratio: 12.75×
Diagnosis confirmed: data skew on the join/groupBy key

Step 4: Check Spill metrics
Spill (Disk): 18GB on the slow task
Diagnosis refined: skew + disk spill
The slow task has too much data AND spills to disk

Step 5: Check GC Time on slow task
GC Time: 47 minutes
Diagnosis complete: skew → large partition → memory pressure
→ disk spill → GC pressure → slow task

Root cause: data skew causing disk spill
Fix: spark.sql.adaptive.skewJoin.enabled = true (AQE)
OR salting the skewed key
NOT: increase cluster size
NOT: increase executor memory (won't fix the distribution problem)
NOT: increase shuffle.partitions (won't fix the skew itself)

Identifying Disk Spill

Disk spill appears in two places in the Spark UI:

Stage summary table: Shuffle Spill (Memory) and Shuffle Spill (Disk) columns. Any non-zero Spill (Disk) value means shuffle data is hitting disk.

Executor tab: shows per-executor disk usage. An executor with significantly higher disk usage than others is the one experiencing spill.

Spill diagnostic and fix decision tree:

Spill (Disk) > 0
│
├── Is max shuffle read >> median shuffle read?
│ YES → skew is causing one partition to overflow memory
│ Fix: AQE skewJoin or salting
│
└── Is spill uniform across many tasks?
YES → partition size too large for executor memory
Either: increase shuffle.partitions (smaller partitions)
Or: increase executor.memory
Or: both

OOM Diagnosis: Three Types, Three Fixes

OOM errors in Databricks are not all the same. The error message type tells you which memory region failed — and each has a different fix.

Type 1: Java Heap OOM

Error: java.lang.OutOfMemoryError: Java heap space
at org.apache.spark.sql.execution...

Location: Executor logs
Cause: JVM heap exhausted
Common causes:
- Shuffle partition too large for executor heap
- UDF accumulating objects in JVM memory
- Excessive caching consuming storage memory pool
- Broadcast table too large for executor memory

Fix:

# Option 1: Reduce partition size (preferred — fix the root cause)
spark.conf.set("spark.sql.shuffle.partitions", "1000")

# Option 2: Increase executor heap (if partition size is genuinely correct)
spark.conf.set("spark.executor.memory", "12g")

# Option 3: If caching is consuming too much storage memory
spark.conf.set("spark.memory.storageFraction", "0.3")
# Reduces storage fraction, gives more to execution

Type 2: Container OOM (Python/Overhead)

Error: [no Java exception] Executor lost: ExecutorLostFailure
reason: Remote RPC client disassociated
OR
YARN: Container killed by YARN for exceeding memory limits

Location: Cluster event log, not executor task log
Cause: Python process or OS overhead exceeded container memory
(NOT the JVM heap — this is outside the JVM)
Common causes:
- PySpark UDF accumulating large Python objects
- pandas operations inside Spark tasks
- Heavy Python libraries loaded per-task

The diagnostic trap: this error doesn’t look like OOM. “Executor lost” or “Remote RPC client disassociated” looks like a network problem. It’s a memory problem outside the JVM.

Fix:

# Increase off-heap memory overhead for Python processes
spark.conf.set("spark.executor.memoryOverhead", "4g")

# For pandas-heavy workloads, consider pandas UDF instead of row UDF
# pandas UDF processes batches (less Python overhead per row)
from pyspark.sql.functions import pandas_udf

Type 3: Driver OOM

Error: java.lang.OutOfMemoryError: Java heap space
at org.apache.spark.scheduler.DAGScheduler...
OR
SparkContext stopped because of driver OOM

Location: Driver logs (not executor logs)
Cause: Driver JVM heap exhausted
Common causes:
- .collect() on large DataFrame
- Broadcast table too large (driver collects before broadcasting)
- Complex query plan compilation
- Result collection from many small tasks

Fix:

# Option 1: Fix the code — .collect() is almost always wrong on large data
# Replace: large_df.collect()
# With: large_df.write.format("delta").save(output_path)

# Option 2: Increase driver memory if broadcast size is the issue
spark.conf.set("spark.driver.memory", "8g")

# Option 3: Reduce broadcast threshold if a large table is being broadcast
spark.conf.set("spark.sql.autoBroadcastJoinThreshold", str(50 * 1024 * 1024))

OOM Type Decision Matrix

Error message/symptom               OOM type        Fix
──────────────────────────────────────────────────────────────────
"Java heap space" in executor log Java heap executor.memory
"GC overhead limit exceeded" Java heap executor.memory
+ shuffle.partitions
"Executor lost" / "RPC disconnect" Container memoryOverhead
"Container killed by YARN/K8s" Container memoryOverhead
"Java heap space" in driver log Driver heap driver.memory
+ fix .collect()
"SparkContext stopped" Driver heap driver.memory
Broadcast fails on driver Driver heap autoBroadcastJoinThreshold

Cluster Startup Failures: Diagnosing Before the Job Runs

Some failures happen before a single Spark task executes. The cluster never starts, or starts partially and fails. These don’t appear in the Spark UI — they appear in the cluster event log.

Reading the Cluster Event Log

Cluster: etl-job-cluster-20240115
Event Log:

14:02:01 CLUSTER_STARTING Requesting 4 worker nodes
14:02:45 NODES_ACQUIRED 4 nodes acquired from cloud provider
14:03:12 INIT_SCRIPT_START Running init script: /dbfs/init/install_libs.sh
14:07:43 INIT_SCRIPT_FAIL Init script failed with exit code 1
Script output:
ERROR: Could not find a version that satisfies
the requirement torch==1.8.0+cu111
ERROR: No matching distribution found for torch==1.8.0+cu111
14:07:43 CLUSTER_FAILED Cluster failed during initialization

The diagnostic pattern: init script failure is the most common cluster startup failure. The script runs, the library installation fails, the cluster terminates. The error message in the event log is the pip/conda error — same as running pip install locally and getting a dependency error.

Common init script failures:

pip install torch==1.8.0+cu111
→ CUDA version mismatch — the cluster's CUDA version doesn't match
the package's CUDA suffix. Fix: match the package CUDA suffix
to the cluster's runtime CUDA version.

pip install proprietary-package==2.3.1
→ Package not on PyPI — requires a private registry or wheel file.
Fix: host the wheel on DBFS and install from path.

conda install -c conda-forge gdal
→ Conda environment conflict with Databricks runtime packages.
Fix: use pip instead of conda where possible; conda conflicts
with Databricks' pre-installed packages more frequently.

Library Conflicts

Library conflicts produce a different failure mode — the cluster starts successfully, but tasks fail when importing the conflicting library.

Error in task:
ImportError: cannot import name 'cached_property' from 'functools'
This typically indicates a library version conflict.

OR:

AttributeError: module 'numpy' has no attribute 'bool'
numpy 1.24+ removed deprecated numpy.bool alias.
A dependency is using the old API.

Library conflict diagnostic pattern:

Step 1: Identify which import fails
Check the full stack trace — the ImportError or AttributeError
points to the specific package

Step 2: Check the Databricks Runtime version
DBR 13.x ships with specific versions of numpy, pandas, scipy
Your installed library may conflict with the pre-installed version

Step 3: Check cluster libraries tab
Databricks UI → Cluster → Libraries
Shows all installed libraries and their installation status
"Error" status on a library = installation failed or conflict

Step 4: Check compatibility
Databricks Runtime release notes list pre-installed library versions
Your package's requirements.txt must be compatible with pre-installed
versions — or you must explicitly pin compatible versions

The library conflict fix pattern:

# Option 1: Pin the conflicting dependency to a compatible version
# In cluster init script or requirements.txt:
pip install numpy==1.23.5 # pin to version before breaking change

# Option 2: Use %pip in notebook (task-scoped, not cluster-scoped)
%pip install package==version # installs for this notebook session only

# Option 3: Use a cluster library with specific version in UI
# Cluster → Libraries → Install New → PyPI → package==version

Performance Bottlenecks: The Diagnostic Checklist

A structured checklist for diagnosing job performance problems without trial-and-error:

Performance Diagnostic Checklist
□ 1. Identify the slow stage
Stages tab → sort by Duration descending
Note: stage ID, duration, task count
□ 2. Check task duration distribution
Click stage → Tasks tab
Is max duration >> median duration?
YES → skew (go to step 3)
NO → uniform slowness (go to step 5)
□ 3. (Skew path) Check shuffle read distribution
Max shuffle read / median shuffle read > 5×?
YES → data skew confirmed
Fix: AQE skewJoin or salting
□ 4. (Skew path) Check spill metrics
Spill (Disk) > 0 on the slow task?
YES → skew + spill combination
Fix: skew fix first, then verify spill resolves
□ 5. (Uniform slowness path) Check spill across all tasks
Spill (Disk) > 0 on many tasks?
YES → partitions too large for executor memory
Fix: increase shuffle.partitions or executor.memory
□ 6. Check GC time
GC time > 10% of task duration?
YES → memory pressure (heap too small or partition too large)
Fix: executor.memory or shuffle.partitions
□ 7. Check executor utilization (Executors tab)
Some executors idle during stage?
YES → not enough partitions to keep all executors busy
Fix: increase shuffle.partitions or repartition
□ 8. Check input data size vs shuffle output size
Shuffle output >> input? → possible Cartesian product
Verify join conditions are correct
□ 9. Check physical plan
df.explain(mode="formatted")
Find Exchange nodes (shuffles)
Are any Exchange nodes eliminatable via broadcast?
Check autoBroadcastJoinThreshold and table statistics

Architecture Flow: Diagnostic Decision Tree

Job Performance Problem
│
▼
Open Spark UI → Stages tab
│
├── Find slowest stage
│ │
│ ▼
│ Check task duration distribution
│ │
│ Max >> Median?
│ ├── YES → SKEW
│ │ Check shuffle read distribution
│ │ Max/Median > 5×?
│ │ ├── YES → data skew
│ │ │ Check Spill (Disk)
│ │ │ ├── > 0 → skew + spill
│ │ │ │ Fix: AQE skewJoin
│ │ │ └── = 0 → skew only
│ │ │ Fix: AQE skewJoin
│ │ └── NO → check other causes
│ │
│ └── NO → UNIFORM SLOWNESS
│ Check Spill (Disk)
│ ├── > 0 → partition size problem
│ │ Fix: shuffle.partitions ↑
│ │ or executor.memory ↑
│ └── = 0 → Check GC time
│ ├── High → memory pressure
│ │ Fix: executor.memory ↑
│ └── Normal → Check executor idle
│ Fix: shuffle.partitions ↑
│
Job Fails (no Spark UI — cluster didn't start)
│
▼
Open Cluster Event Log
│
├── Init script failed → library installation error
│ Fix: fix package version, CUDA suffix, registry
│
├── Node acquisition failed → cloud capacity issue
│ Fix: different instance type, different AZ
│
└── OOM during startup → init script memory-intensive
Fix: larger driver, reduce init script scope

Failure Modes You’ll See in Production

Diagnosing spill as a memory problem and adding executor memory. Spill (Disk): 18GB. Engineer increases executor.memory from 8g to 16g. The skewed partition is 20GB — still doesn't fit in memory. Spill continues. The actual fix is reducing the skewed partition size (AQE or salting) so the partition fits in 8GB without needing 16GB.

Container OOM misread as network failure. “Executor lost: Remote RPC client disassociated” fires repeatedly. Engineer suspects network instability. Tries different instance types. Checks VPC configuration. The actual cause: a Python UDF is accumulating large objects, exceeding memoryOverhead, causing the container to be killed by Kubernetes. The fix is memoryOverhead — not networking.

Library conflict masked by successful cluster start. Cluster starts successfully. All init scripts complete. First task runs and fails with ImportError. Engineer adds more logging. Re-runs. Same error. Checks the libraries tab and finds the installed scikit-learn==1.3.0 conflicts with the pre-installed version in DBR 13.3. The fix is pinning to the compatible version — not re-running with more logging.

Startup failure loop from init script side effects. An init script modifies system Python paths as a side effect of installing a package. The cluster starts, installs the package, modifies paths. On the next cluster restart, the modified paths cause a different package to fail to import. The cluster terminates. On retry, the same modification happens. The cluster fails every time. The fix requires understanding the full side effects of the init script — not just whether the target package installed successfully.

Skew identified but wrong fix applied. Spark UI shows max/median shuffle read ratio of 15×. Engineer enables AQE (spark.sql.adaptive.enabled = true) but not skew join handling (spark.sql.adaptive.skewJoin.enabled = true). AQE is enabled but the skew-specific feature isn't. Job remains slow. The fix requires both parameters — AQE alone enables coalescing and dynamic partition pruning but not automatic skew join splitting.

Physical plan not checked before optimization. Engineer assumes a join is using sort-merge. Adds salting for skew. Performance doesn’t improve. The optimizer actually chose a broadcast join for this table pair (the small table was under the broadcast threshold). The salting added complexity and overhead to a join that was already optimal. Running explain()before optimizing would have revealed the broadcast join in the physical plan.


Trade-offs: Diagnostic Depth vs Diagnostic Speed

Deep Spark UI analysis: Optimized for finding the correct root cause. Sacrifices time — reading all relevant metrics thoroughly takes 10–20 minutes before making any configuration changes. The payoff: changes that fix the actual problem rather than masking symptoms.

Trial-and-error configuration changes: Optimized for the feeling of progress. Sacrifices accuracy — changes that don’t address the root cause add cost without improving performance. In the worst case, they mask the real problem by making it harder to reproduce.

The production engineering standard: read the Spark UI before touching configuration. Every time. The 15 minutes spent diagnosing correctly saves hours of failed fixes.


Real-World Constraints

Spark UI availability window. The Spark UI for a completed job is available for a limited time after the cluster terminates. On Databricks, the Spark UI history is stored but may be unavailable after the cluster terminates if it wasn’t properly persisted. For production jobs, configure Spark event log persistence to S3/ADLS so the UI remains accessible after job completion.

# Persist Spark event logs for post-job UI access
spark.conf.set("spark.eventLog.enabled", "true")
spark.conf.set("spark.eventLog.dir", "s3://bucket/spark-event-logs/")

Sampling bias in stage metrics. Spark UI task metrics are sometimes sampled for stages with very large task counts (>100K tasks). The percentile distributions shown may not reflect all tasks. For extremely high-parallelism jobs, treat the Spark UI metrics as directionally correct rather than precisely accurate.

AQE and Spark UI plan changes. With AQE enabled, the physical plan shown in explain() before execution may differ from the plan actually executed. AQE modifies the plan at runtime. The Spark UI's SQL tab shows the final executed plan — use this for post-execution analysis rather than the pre-execution explain() output.


What Databricks Expects You to Reason About

Troubleshooting questions on the exam follow a consistent pattern: a performance scenario or error message is described, and you’re asked to identify root cause and correct fix. The reasoning is always symptom → metric → root cause → fix.

The exam’s skew scenario. Median shuffle read 400MB, max 5.1GB, one task running 10+ minutes while others complete in 30 seconds — this is the official exam guide’s Sample Question 1 scenario. The correct answer is AQE skew join handling. The wrong answers are: add more executors (doesn’t fix distribution), reduce shuffle.partitions (makes partitions larger, worsens spill), increase executor memory (doesn’t fix the skew distribution). The diagnostic chain is: max/median ratio → skew → spill → AQE fix.

OOM type identification. A scenario describing executors being lost without a Java exception has container OOM (memoryOverhead) as the root cause — not Java heap OOM. A scenario describing a failure during .collect() has driver OOM as the root cause. The error location (executor log vs driver log vs cluster event log) determines the OOM type.

Cluster startup failures vs task failures. A scenario where “the job fails before any tasks run” has a cluster startup failure as the root cause — init script failure, library conflict, or node acquisition failure. The diagnostic instrument is the cluster event log, not the Spark UI (which only shows task-level metrics for running jobs).

Library conflict symptoms. A scenario describing a job that “worked last week but fails today with ImportError after a library was added” has a library version conflict as the root cause. The fix is checking the Databricks Runtime’s pre-installed library versions and pinning the conflicting dependency to a compatible version.

The wrong fix pattern. The exam consistently presents scenarios where an engineer applied a plausible but incorrect fix. Adding more executors when the problem is skew. Increasing executor memory when the problem is container OOM. Checking network configuration when executors are being killed by memory limits. Recognizing the wrong fix and identifying why it doesn’t address the root cause is the skill the exam tests.


Summary: The Engineering Lesson

Debugging Databricks performance problems without the Spark UI is like debugging a database query without EXPLAIN. You can try things and get lucky. You can’t reliably reach the correct answer.

The Spark UI encodes the execution reality of your job — what actually moved across the network, how memory was used, which tasks took how long, where data spilled to disk. Every performance problem leaves a specific pattern in those metrics. Reading the pattern correctly tells you exactly what to fix.

The diagnostic hierarchy matters as much as the individual fixes. Skew and spill are different problems with different fixes that often appear together — fixing skew usually fixes the resulting spill, but fixing spill without fixing skew just means you’ve given the oversized partition more memory to use before it eventually hits a limit that causes something else to fail.

The Spark UI is not a debugging tool of last resort. It’s the first tool you open.

Reading it well is a skill. The exam tests it. Production demands it. And once you know what each metric means, a 15-minute diagnosis session tells you more than four hours of trial-and-error configuration changes.


🔥 Next in Series

Part 12 — Security and Governance: RBAC, Row-Level Security, Column Masking, and ABAC

The final domain. Data platform security is not a permissions checklist — it’s a layered architecture where Unity Catalog’s privilege hierarchy, column-level masking functions, row filter policies, and ABAC tag-based controls work together to enforce data access boundaries that hold up under audit.

We’ll go deep on the complete security stack — GRANT/REVOKE hierarchy traversal, column masking implementation, row-level security design, ABAC policy architecture, and the failure modes that expose sensitive data silently. Everything Part 2 introduced at the architectural level, Part 12 operationalizes at the implementation level.


🔔 Follow for More

Follow TheDataForge for high-signal deep dives on Spark, Kafka, Streaming, Lakehouse, and real-world data engineering — no fluff, only engineering truth.

⚡️Let’s connect — I post daily Big Data & Spark insights at DataForgeX on X.

💬 Comment Below

What’s the most misleading performance problem you’ve diagnosed in Databricks?

Was it a container OOM that presented as network failure and had you checking VPC configuration for an hour before someone looked at the memory overhead? An init script that installed successfully but modified system paths that caused a completely different import to fail on the next cluster start? A skew problem where adding executor memory made the job run slightly faster but never fixed the root cause because nobody checked the shuffle read distribution?

And — did you find the answer from the Spark UI in the first 15 minutes, or did you discover it three hours later after exhausting everything else?


Tags

#databricks-troubleshooting #spark-ui #oom-diagnosis #disk-spill #data-skew #cluster-startup #library-conflicts #performance-diagnosis #databricks-certification #dataforge