Critical severityresource
Power BI Refresh Error:
CLUSTER_TERMINATED_UNEXPECTEDLY
What does this error mean?
A running Databricks cluster stopped without a user-initiated action, typically due to an out-of-memory condition, a driver JVM crash, or an underlying cloud infrastructure failure.
Common causes
- 1The driver or worker ran out of memory (OOM) and the JVM was killed by the OS
- 2An Azure/AWS spot instance was preempted by the cloud provider
- 3A runaway shuffle or broadcast join caused disk spill beyond available temp space
- 4A cluster init script raised an unhandled exception that terminated the process
How to fix it
- 1Step 1: Open the cluster's Event Log and check the Termination Reason field for the root cause code.
- 2Step 2: If OOM: increase the driver or worker memory, reduce partition size, or add more workers.
- 3Step 3: If spot preemption: switch to on-demand instances for production jobs or enable Spot Fallback.
- 4Step 4: Review Ganglia or Spark UI for memory and GC pressure before the termination.
- 5Step 5: Enable cluster log delivery to DBFS or S3 so logs are available after the cluster is gone.