turboFei commented on PR #3068:
URL: https://github.com/apache/celeborn/pull/3068#issuecomment-2597283589

   it is impossible to add UT for speculation.
   
   
https://github.com/apache/spark/blob/d5da49d56d7dec5f8a96c5252384d865f7efd4d9/core/src/main/scala/org/apache/spark/scheduler/TaskSchedulerImpl.scala#L236-L244
   
   <img width="867" alt="image" 
src="https://github.com/user-attachments/assets/f93bd14f-0f34-4c81-a8db-13be511405d9";>
   
   For local master, it would not start the speculationScheduler. 
   
   
https://github.com/apache/spark/blob/d5da49d56d7dec5f8a96c5252384d865f7efd4d9/core/src/main/scala/org/apache/spark/scheduler/TaskSetManager.scala#L322-L346
   
   <img width="1010" alt="image" 
src="https://github.com/user-attachments/assets/477729a4-2fc1-47e9-b128-522c6e2ceb48";>
   
   
   and it is also not allowed to launch speculative task on the same host.


-- 
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]

Reply via email to