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

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

Xingbo Jiang created SPARK-42967:
------------------------------------

             Summary: 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.3.2, 3.2.3, 3.1.3, 3.0.3
            Reporter: Xingbo Jiang
            Assignee: Xingbo Jiang


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