Medium severitydata flow
Power BI Refresh Error:
DF-Executor-DriverError
What does this error mean?
The Spark driver process crashed or threw an unhandled exception during data flow execution. The driver coordinates all executor tasks — when it fails, the entire data flow job is terminated.
Common causes
- 1The Spark driver ran out of memory (driver OOM) while collecting results or coordinating a large shuffle — the driver has a smaller memory allocation than executors
- 2A transformation collected all data to the driver node (e.g., a collect() or orderBy() without partitioning) and the data volume exceeded driver memory
- 3A transient Spark cluster issue caused the driver process to crash at startup or during a checkpoint
- 4An unhandled exception in the Spark job plan (e.g., a null pointer in the query plan) caused the driver to abort the job
How to fix it
- 1Review the full ADF activity run output — the driver error message contains the underlying Spark driver exception; look for the root cause in the exception chain.
- 2In ADF Monitor, click the failed activity and select 'View details' to access the Spark driver and executor logs.
- 3If the driver crashed due to memory pressure, increase the Azure IR compute type to provide more driver memory.
- 4Retry the pipeline after a few minutes — transient Spark driver crashes caused by cluster startup issues often resolve on retry.
- 5If the error is persistent, enable debug mode with a smaller data sample to reproduce the crash and identify the specific transformation causing the driver failure.
Frequently asked questions
Official documentation: https://learn.microsoft.com/en-us/azure/data-factory/data-flow-troubleshoot-guide