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 2BEC017C07 for ; Thu, 25 Sep 2014 22:51:37 +0000 (UTC) Received: (qmail 13075 invoked by uid 500); 25 Sep 2014 22:51:36 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 12986 invoked by uid 500); 25 Sep 2014 22:51:36 -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 12974 invoked by uid 500); 25 Sep 2014 22:51:36 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 12971 invoked by uid 99); 25 Sep 2014 22:51:36 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Sep 2014 22:51:36 +0000 Date: Thu, 25 Sep 2014 22:51:36 +0000 (UTC) From: "Chao (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-8262) Create CacheTran that transforms the input RDD by caching it [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-8262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Chao reassigned HIVE-8262: -------------------------- Assignee: Chao > Create CacheTran that transforms the input RDD by caching it [Spark Branch] > --------------------------------------------------------------------------- > > Key: HIVE-8262 > URL: https://issues.apache.org/jira/browse/HIVE-8262 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Xuefu Zhang > Assignee: Chao > > In a few cases we need to cache a RDD to avoid recompute it for better performance. However, caching a map input RDD is different from caching a regular RDD due to SPARK-3693. The way to cache a Hadoop RDD, which is the input to MapWork, is to cache, the result RDD that is transformed from the original Hadoop RDD by applying a map function, in which pairs are copied. To cache intermediate RDDs, such as that from a shuffle, is just calling .cache(). > This task is to create a CacheTran to capture this, which can be used to plug in Spark Plan when caching is desirable. -- This message was sent by Atlassian JIRA (v6.3.4#6332)