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 05DD910678 for ; Mon, 15 Dec 2014 22:03:14 +0000 (UTC) Received: (qmail 90230 invoked by uid 500); 15 Dec 2014 22:03:13 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 90157 invoked by uid 500); 15 Dec 2014 22:03:13 -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 90144 invoked by uid 500); 15 Dec 2014 22:03:13 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 90141 invoked by uid 99); 15 Dec 2014 22:03:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2014 22:03:13 +0000 Date: Mon, 15 Dec 2014 22:03:13 +0000 (UTC) From: "Jimmy Xiang (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-8843) Release RDD cache when Hive query is done [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-8843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jimmy Xiang updated HIVE-8843: ------------------------------ Attachment: HIVE-8843.1-spark.patch Here is the patch v1: https://reviews.apache.org/r/29063/ > Release RDD cache when Hive query is done [Spark Branch] > -------------------------------------------------------- > > Key: HIVE-8843 > URL: https://issues.apache.org/jira/browse/HIVE-8843 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Xuefu Zhang > Assignee: Jimmy Xiang > Attachments: HIVE-8843.1-spark.patch > > > In some multi-inser cases, RDD.cache() is called to improve performance. RDD is SparkContext specific, but the caching is useful only for the query. Thus, once the query is executed, we need to release the cache used by calling RDD.uncache(). -- This message was sent by Atlassian JIRA (v6.3.4#6332)