[ 
https://issues.apache.org/jira/browse/SPARK-35713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17360976#comment-17360976
 ] 

Apache Spark commented on SPARK-35713:
--------------------------------------

User 'wankunde' has created a pull request for this issue:
https://github.com/apache/spark/pull/32866

> Bug fix for thread leak in JobCancellationSuite
> -----------------------------------------------
>
>                 Key: SPARK-35713
>                 URL: https://issues.apache.org/jira/browse/SPARK-35713
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.1.2
>            Reporter: Wan Kun
>            Priority: Minor
>
> When we call Thread.interrupt() method, that thread's interrupt status will 
> be set but it may not really interrupt.
> So when spark task runs in an infinite loop, spark context may fail to 
> interrupt the task thread, and resulting in thread leak. 
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to