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: [email protected]
For additional commands, e-mail: [email protected]