Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED968107DC for ; Tue, 25 Nov 2014 09:37:12 +0000 (UTC) Received: (qmail 28091 invoked by uid 500); 25 Nov 2014 09:37:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 28020 invoked by uid 500); 25 Nov 2014 09:37:12 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 28009 invoked by uid 500); 25 Nov 2014 09:37:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 28006 invoked by uid 99); 25 Nov 2014 09:37:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Nov 2014 09:37:12 +0000 Date: Tue, 25 Nov 2014 09:37:12 +0000 (UTC) From: "Chengxiang Li (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8959) SparkSession is not closed until JVM exit.[Spark Branch] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-8959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chengxiang Li updated HIVE-8959: -------------------------------- Attachment: HIVE-8959.1-spark.patch > 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 > Labels: Spark-M3 > Attachments: HIVE-8959.1-spark.patch > > > 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)