[ 
https://issues.apache.org/jira/browse/SPARK-32015?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Wan Kun updated SPARK-32015:
----------------------------
    Attachment: screenshot-1.png

> 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
>         Attachments: screenshot-1.png
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to