You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Hong Shen (JIRA)" <ji...@apache.org> on 2016/07/26 02:11:20 UTC

[jira] [Comment Edited] (SPARK-16709) Task with commit failed will retry infinite when speculation set to true

    [ https://issues.apache.org/jira/browse/SPARK-16709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393062#comment-15393062 ] 

Hong Shen edited comment on SPARK-16709 at 7/26/16 2:10 AM:
------------------------------------------------------------

It different, the task has no attempt succeed. This happen when a task attempt failed when performCommit(), the following attempts can't commit any more, because just one task can performCommit(), even though the first attempt failed at performCommit().



was (Author: shenhong):
It different, the task has no attempt succeed. this happen when a task attempt failed when performCommit(), the following attempts can commit any more, because just one task can performCommit(), even though the first attempt failed at performCommit().


> Task with commit failed will retry infinite when speculation set to true
> ------------------------------------------------------------------------
>
>                 Key: SPARK-16709
>                 URL: https://issues.apache.org/jira/browse/SPARK-16709
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.6.0
>            Reporter: Hong Shen
>         Attachments: commit failed.png
>
>
> In our cluster, we set spark.speculation=true,  but when a task throw exception at SparkHadoopMapRedUtil.performCommit(), this task can retry infinite.
> https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/mapred/SparkHadoopMapRedUtil.scala#L83



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org