You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "liukai (Jira)" <ji...@apache.org> on 2021/11/16 11:33:00 UTC
[jira] [Created] (SPARK-37347) Spark Thrift Server (STS) driver fullFC becourse of timeoutExecutor not shutdown correctly
liukai created SPARK-37347:
------------------------------
Summary: Spark Thrift Server (STS) driver fullFC becourse of timeoutExecutor not shutdown correctly
Key: SPARK-37347
URL: https://issues.apache.org/jira/browse/SPARK-37347
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 3.2.0, 3.1.1, 3.1.0
Reporter: liukai
Fix For: 3.1.3, 3.2.1
When spark.sql.thriftServer.queryTimeout or java.sql.Statement.setQueryTimeout is setted >0 , SparkExecuteStatementOperation add timeoutExecutor to kill time-consumed query in [SPARK-26533|https://issues.apache.org/jira/browse/SPARK-26533]. But timeoutExecutor is not shutdown correctly when statement is finished, it can only be shutdown when timeout. When we set timeout to a long time for example 1 hour, the long-running STS driver will FullGC and the application is not available for a long time.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org