Spark is resilient to worker failures: failed work can be rescheduled and lost RDD partitions can be recomputed from their lineage. A driver failure is different: Spark does not automatically move the driver to a worker node. Driver recovery depends on the cluster manager, deployment mode, and configured recovery or restart behavior. The Spark documentation also states that a driver-node failure loses the SparkContext.
Community Discussion