ulysses you created SPARK-33526:
-----------------------------------

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


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

Reply via email to