2014-10-08 67 views

回答

5

我相信失败的任务会重新提交,因为我已经看到在Web UI上多次提交相同的失败任务。但是,如果同样的任务失败多次,全部作业是否失败:

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 
2

是的,但对于失败的最大数量设置的参数

spark.task.maxFailures 4 Number of individual task failures before giving up on the job. Should be greater than or equal to 1. Number of allowed retries = this value - 1. 
火花
相关问题