You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Gengliang Wang (Jira)" <ji...@apache.org> on 2023/03/30 22:50:00 UTC

[jira] [Resolved] (SPARK-42967) Fix SparkListenerTaskStart.stageAttemptId when a task is started after the stage is cancelled

     [ https://issues.apache.org/jira/browse/SPARK-42967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gengliang Wang resolved SPARK-42967.
------------------------------------
    Fix Version/s: 3.3.3
                   3.2.4
                   3.4.0
       Resolution: Fixed

Issue resolved by pull request 40592
[https://github.com/apache/spark/pull/40592]

> Fix SparkListenerTaskStart.stageAttemptId when a task is started after the stage is cancelled
> ---------------------------------------------------------------------------------------------
>
>                 Key: SPARK-42967
>                 URL: https://issues.apache.org/jira/browse/SPARK-42967
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 3.0.3, 3.1.3, 3.2.3, 3.3.2
>            Reporter: Xingbo Jiang
>            Assignee: Xingbo Jiang
>            Priority: Major
>             Fix For: 3.3.3, 3.2.4, 3.4.0
>
>
> When a task is started after the stage is cancelled, the stageAttemptId field in  SparkListenerTaskStart event is set to -1. This could lead to unexpected problem for subscribers of SparkListener because -1 is not a legal stageAttemptId.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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