xiongbo-sjtu opened a new pull request, #43176:
URL: https://github.com/apache/spark/pull/43176

   `Note that the fix has been merged to master in 
https://github.com/apache/spark/pull/43021. Branches 3.5 and 3.4 have been 
patched.  This pull request is meant to patch branch 3.3`
   
   ### What changes were proposed in this pull request?
   Fix a subtle thread-safety issue with CoarseGrainedExecutorBackend where an 
executor process randomly gets stuck.
   
   ### Why are the changes needed?
   For each executor, the single-threaded dispatcher can run into an "infinite 
loop" (as explained in the SPARK-45227). Once an executor process runs into a 
state, it'd stop launching tasks from the driver or reporting task status back.
   
   ### Does this PR introduce _any_ user-facing change?
   No
   
   ### How was this patch tested?
   ```
   $ build/mvn package -DskipTests -pl core
   $ build/mvn -Dtest=none 
-DwildcardSuites=org.apache.spark.executor.CoarseGrainedExecutorBackendSuite 
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