Here is the case: I launch a spark job, but failed due to many tasks failed for the OOM. So I increase the memory allocation for tasks. I still see some nodes failed for OOM, but the job could succeed at last. My question is how does Spark handle this? It seems that Spark could redistribute the data after a failed try.
P.S. The failed task is apply a Window and Rank operation in the batch job.
Update: I run the batch job in YARN cluster mode. All tasks are configured to have the same memory.
