Chengxiang Li created HIVE-8959: ----------------------------------- Summary: SparkSession is not closed until JVM exit.[Spark Branch] Key: HIVE-8959 URL: https://issues.apache.org/jira/browse/HIVE-8959 Project: Hive Issue Type: Sub-task Components: Spark Reporter: Chengxiang Li Assignee: Chengxiang Li
During unit test, SparkSession is closed by Runtime shutdownHook, which means it's closed until JVM exist. During unit test suite, each qfile, as a single test case, would reset SessionState, which lead to a new Sparksession is created for each qfile. As we know that, RemoteSparkClient is SparkSession specified, so more and more executors is launched during unit test until blocked by no more resources. -- This message was sent by Atlassian JIRA (v6.3.4#6332)