1

In spark 2.x if the driver dies does the executors die too? If yes, if restarted will the whole job start again wid reference from check point directory?

1 Answer 1

2

Driver is a single point of failure in Spark applications. If driver dies, all other linked components will be discarded as well.

In applications using checkpointing for reliability (streaming), checkpoints can be use to recover state. Please refer to:

for details.

1
  • Thanks that helped. I am still confused how fault tolerance and exactly once strategy is ensured when I am using window operation on streaming job and one of the executors fail. Jan 29, 2018 at 22:39

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.