I believe that failed tasks are resubmitted because I saw the same failed task presented several times in the web interface. However, if the same task fails several times, the job will fail completely:
org.apache.spark.SparkException: Job aborted due to stage failure: Task 120 in stage 91.0 failed 4 times, most recent failure: Lost task 120.3 in stage 91.0
source
share