angerszhu created SPARK-27916:
---------------------------------
Summary: SparkThreatServer memory leak
Key: SPARK-27916
URL: https://issues.apache.org/jira/browse/SPARK-27916
Project: Spark
Issue Type: Bug
Components: SQL
Affects Versions: 2.4.0, 2.3.0
Reporter: angerszhu
When we use SparkThriftServer, when set config
spark.sql.hive.thriftServer.singleSession = true
Each client session will create a SparkSession Object, but this
InheritThreadLocal Object will not be released since when we call
SparkSession.sql(), It just call ThreadLocal's set method. This make
SparkSession Object remained in JVM, not cleared
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]