mayurdb opened a new pull request, #43326:
URL: https://github.com/apache/spark/pull/43326

   ### What changes were proposed in this pull request?
   With [SPARK-45182](https://issues.apache.org/jira/browse/SPARK-45182), we 
added a fix for not letting laggard tasks of the older attempts of the 
indeterminate stage from marking the partition has completed in the map output 
tracker.
   
   When a task is completed, the DAG scheduler also notifies all the task sets 
of the stage about that partition being completed. Tasksets would not schedule 
such tasks if they are not already scheduled. This is not correct for the 
indeterminate stage, since we want to re-run all the tasks on a re-attempt
   
   ### Why are the changes needed?
   Since the partition is not completed by older attempts and the partition 
from the newer attempt also doesn't get scheduled, the stage will have to be 
rescheduled to complete that partition. Since the stage is indeterminate, all 
the partitions will be recomputed
   
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   
   ### How was this patch tested?
   Added check in existing unit test
   
   
   ### Was this patch authored or co-authored using generative AI tooling?
   No
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to