You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2021/09/26 00:52:00 UTC

[jira] [Resolved] (SPARK-35713) Bug fix for thread leak in JobCancellationSuite

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

Sean R. Owen resolved SPARK-35713.
----------------------------------
    Resolution: Not A Problem

> 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org