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 F0DA2105A8 for ; Tue, 18 Nov 2014 07:25:34 +0000 (UTC) Received: (qmail 20986 invoked by uid 500); 18 Nov 2014 07:25:34 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 20911 invoked by uid 500); 18 Nov 2014 07:25:34 -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 20900 invoked by uid 500); 18 Nov 2014 07:25:34 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 20897 invoked by uid 99); 18 Nov 2014 07:25:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Nov 2014 07:25:34 +0000 Date: Tue, 18 Nov 2014 07:25:34 +0000 (UTC) From: "Chengxiang Li (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8868) SparkSession and SparkClient mapping[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-8868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chengxiang Li updated HIVE-8868: -------------------------------- Labels: Spark-M3 TODOC-SPARK (was: Spark-M3) > SparkSession and SparkClient mapping[Spark Branch] > -------------------------------------------------- > > Key: HIVE-8868 > URL: https://issues.apache.org/jira/browse/HIVE-8868 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Chengxiang Li > Assignee: Chengxiang Li > Labels: Spark-M3, TODOC-SPARK > Attachments: HIVE-8868.1-spark.patch > > > It should be a seperate spark context for each user session, currently we share a singleton local spark context in all user sessions with local spark, and create remote spark context for each spark job with spark cluster. > To binding one spark context to each user session, we may construct spark client on session open, one thing to notify is that, is SparkSession::conf is consist with Context::getConf? -- This message was sent by Atlassian JIRA (v6.3.4#6332)