spark-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "haiyangyu (Jira)" <>
Subject [jira] [Updated] (SPARK-30325) Stage retry and executor crashed cause app hung up forever
Date Sat, 21 Dec 2019 09:17:00 GMT


haiyangyu updated SPARK-30325:
    Attachment: image-2019-12-21-17-16-40-998.png

> Stage retry and executor crashed cause app hung up forever
> ----------------------------------------------------------
>                 Key: SPARK-30325
>                 URL:
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 2.4.0, 2.4.4
>            Reporter: haiyangyu
>            Priority: Major
>         Attachments: image-2019-12-21-17-11-38-565.png, image-2019-12-21-17-15-51-512.png,
> h3. Corner case
> The bugs occurs in the coren case as follows:
>  # The stage occurs for fetchFailed and some task hasn't finished, scheduler will resubmit
a new stage as retry with those unfinished tasks.
>  # The unfinished task in origin stage finished and the same task on the new retry stage
hasn't finished, it will mark the task partition on the new retry stage as succesuful. !image-2019-12-21-17-11-38-565.png!
>  # The executor running those 'successful task' crashed, it cause taskSetManager run
executorLost to rescheduler the task on the executor, here will cause copiesRunning decreate
1 twice, beause those 'successful task' are not finished, the variable copiesRunning will
decreate to -1 as result.
>  # 'dequeueTaskFromList' will use copiesRunning equal 0 as reschedule basis when rescheduler
tasks, and now it is -1, can't to reschedule, and the app will hung forever.

This message was sent by Atlassian Jira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message