You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean R. Owen (Jira)" <ji...@apache.org> on 2020/07/16 13:00:00 UTC
[jira] [Resolved] (SPARK-32015) Remote inheritable thread local
variables after spark context is stopped
[ https://issues.apache.org/jira/browse/SPARK-32015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean R. Owen resolved SPARK-32015.
----------------------------------
Resolution: Not A Problem
> Remote inheritable thread local variables after spark context is stopped
> ------------------------------------------------------------------------
>
> Key: SPARK-32015
> URL: https://issues.apache.org/jira/browse/SPARK-32015
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Affects Versions: 3.0.0
> Reporter: Wan Kun
> Priority: Major
>
> There is still a reference(eg. `java.lang.ApplicationShutdownHooks` -> `org.apache.hive.common.util.ShutdownHookManager$1` -> `SparkContext`) to `sparkContext` after the spark context is stopped, so the JVM cannot collect that.
> If we start and stop sparkSession several times, there will be a OOM exception.
>
> !https://img-blog.csdnimg.cn/2020051111561087.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3dhbmt1bmRl,size_16,color_FFFFFF,t_70!
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org