Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-42967

Fix SparkListenerTaskStart.stageAttemptId when a task is started after the stage is cancelled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.3, 3.1.3, 3.2.3, 3.3.2
    • 3.2.4, 3.3.3, 3.4.0
    • Spark Core
    • None

    Description

      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.

      Attachments

        Activity

          People

            jiangxb1987 Xingbo Jiang
            jiangxb1987 Xingbo Jiang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: