weixiuli opened a new pull request #32306:
URL: https://github.com/apache/spark/pull/32306


   
   ### What changes were proposed in this pull request?
   Avoid to recompute the pending speculative tasks in the 
ExecutorAllocationManager, and remove some unnecessary code.
   
   ### Why are the changes needed?
   
   The number of the pending speculative tasks is recomputed in the 
ExecutorAllocationManager to calculate the maximum number of executors 
required.  While , it only needs to be computed once to improve performance.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   Existing tests.


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

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