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

Apache Spark commented on SPARK-33526:
--------------------------------------

User 'ulysses-you' has created a pull request for this issue:
https://github.com/apache/spark/pull/30897

> Add config to control if cancel invoke interrupt task on thriftserver
> ---------------------------------------------------------------------
>
>                 Key: SPARK-33526
>                 URL: https://issues.apache.org/jira/browse/SPARK-33526
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.1.0
>            Reporter: ulysses you
>            Assignee: ulysses you
>            Priority: Minor
>             Fix For: 3.2.0
>
>
> After [#29933|https://github.com/apache/spark/pull/29933], we support cancel 
> query if timeout, but the default behavior of `SparkContext.cancelJobGroups` 
> won't interrupt task and just let task finish by itself. In some case it's 
> dangerous, e.g., data skew or exists a heavily shuffle. A task will hold in a 
> long time after do cancel and the resource will not release.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to