Bo Zhang created SPARK-42602:
--------------------------------

             Summary: Add reason string as an argument to 
TaskScheduler.cancelTasks
                 Key: SPARK-42602
                 URL: https://issues.apache.org/jira/browse/SPARK-42602
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core
    Affects Versions: 3.5.0
            Reporter: Bo Zhang


Currently tasks killed by `TaskScheduler.cancelTasks` will have a 
`TaskEndReason` "TaskKilled (Stage cancelled)". We should do better at 
differentiating reasons for stage cancellations (e.g. user-initiated or caused 
by task failures in the stage).



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to