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 E38FB10AE5 for ; Tue, 13 Jan 2015 01:03:33 +0000 (UTC) Received: (qmail 60137 invoked by uid 500); 13 Jan 2015 01:03:35 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 60067 invoked by uid 500); 13 Jan 2015 01:03:35 -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 59990 invoked by uid 500); 13 Jan 2015 01:03:35 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 59950 invoked by uid 99); 13 Jan 2015 01:03:35 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Jan 2015 01:03:35 +0000 Date: Tue, 13 Jan 2015 01:03:35 +0000 (UTC) From: "Xuefu Zhang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-9258) Explain query should share the same Spark application with regular queries [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-9258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated HIVE-9258: ------------------------------ Summary: Explain query should share the same Spark application with regular queries [Spark Branch] (was: Explain query shouldn't launch a Spark application [Spark Branch]) > Explain query should share the same Spark application with regular queries [Spark Branch] > ----------------------------------------------------------------------------------------- > > Key: HIVE-9258 > URL: https://issues.apache.org/jira/browse/HIVE-9258 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Xuefu Zhang > Assignee: Jimmy Xiang > > Currently for Hive on Spark, query plan includes the number of reducers, which is determined partly by the Spark cluster. Thus, explain query will need to launch a Spark application (Spark remote context), which is costly. To make things worse, the application is discarded right way. > Ideally, we shouldn't launch a Spark application even for an explain query. -- This message was sent by Atlassian JIRA (v6.3.4#6332)