Re: How to Set Retry Policy in Spark

2015-10-01 Thread Renxia Wang
Additional Info: I am running Spark on YARN.

2015-10-01 15:42 GMT-07:00 Renxia Wang :

> Hi guys,
>
> I know there is a way to set the number of retry of failed tasks, using
> spark.task.maxFailures. what is the default policy for the failed tasks
> retry? Is it exponential backoff? My tasks sometimes failed because of
> Socket connection timeout/reset, even with retry, some of the tasks will
> fail for more than spark.task.maxFailures times.
>
> Thanks,
>
> Zhique
>


How to Set Retry Policy in Spark

2015-10-01 Thread Renxia Wang
Hi guys,

I know there is a way to set the number of retry of failed tasks, using
spark.task.maxFailures. what is the default policy for the failed tasks
retry? Is it exponential backoff? My tasks sometimes failed because of
Socket connection timeout/reset, even with retry, some of the tasks will
fail for more than spark.task.maxFailures times.

Thanks,

Zhique