[ 
https://issues.apache.org/jira/browse/SPARK-59253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hyukjin Kwon resolved SPARK-59253.
----------------------------------
    Fix Version/s: 4.4.0
       Resolution: Fixed

Issue resolved by pull request 58525
[https://github.com/apache/spark/pull/58525]

> Fix direct dispatcher interrupt race
> ------------------------------------
>
>                 Key: SPARK-59253
>                 URL: https://issues.apache.org/jira/browse/SPARK-59253
>             Project: Spark
>          Issue Type: Sub-task
>          Components: UDF
>    Affects Versions: 4.4.0
>            Reporter: Haiyang Sun
>            Assignee: Haiyang Sun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.4.0
>
>
> Capture and clear an interrupt that races with lifecycle notification in
> `DirectWorkerDispatcher.awaitInFlightOperations()`.
> The interrupt is checked after leaving the `lifecycleLock.synchronized` block.
> `Thread.interrupted()` is evaluated first so the interrupt flag is always
> cleared. `close()` restores the interrupt after cleanup completes.



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