You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "angerszhu (JIRA)" <ji...@apache.org> on 2019/08/07 07:47:00 UTC
[jira] [Resolved] (SPARK-27916) SparkThreatServer memory leak when
'spark.sql.hive.thriftServer.singleSession' enabled
[ https://issues.apache.org/jira/browse/SPARK-27916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angerszhu resolved SPARK-27916.
-------------------------------
Resolution: Invalid
> SparkThreatServer memory leak when 'spark.sql.hive.thriftServer.singleSession' enabled
> --------------------------------------------------------------------------------------
>
> Key: SPARK-27916
> URL: https://issues.apache.org/jira/browse/SPARK-27916
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 2.3.0, 2.4.0
> Reporter: angerszhu
> Priority: Major
>
> 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.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org