Wan Kun created SPARK-32015:
-------------------------------

             Summary: 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
         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