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 05374117D9 for ; Thu, 7 Aug 2014 21:23:13 +0000 (UTC) Received: (qmail 211 invoked by uid 500); 7 Aug 2014 21:23:12 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 138 invoked by uid 500); 7 Aug 2014 21:23: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 126 invoked by uid 500); 7 Aug 2014 21:23:12 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 123 invoked by uid 99); 7 Aug 2014 21:23:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 21:23:12 +0000 Date: Thu, 7 Aug 2014 21:23:12 +0000 (UTC) From: "Venki Korukanti (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-7492) Enhance SparkCollector 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-7492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14089871#comment-14089871 ] Venki Korukanti commented on HIVE-7492: --------------------------------------- GroupBy operator is adding output records to Output Collector after closing the ExecMapper/ExecReducer. Need to check if {{lastRecordOutput}} has any records after closing the ExecMapper/ExecReducer. I will log a JIRA and attach the patch. > Enhance SparkCollector > ---------------------- > > Key: HIVE-7492 > URL: https://issues.apache.org/jira/browse/HIVE-7492 > Project: Hive > Issue Type: Sub-task > Components: Spark > Reporter: Xuefu Zhang > Assignee: Venki Korukanti > Fix For: spark-branch > > Attachments: HIVE-7492-1-spark.patch, HIVE-7492.2-spark.patch > > > SparkCollector is used to collect the rows generated by HiveMapFunction or HiveReduceFunction. It currently is backed by a ArrayList, and thus has unbounded memory usage. Ideally, the collector should have a bounded memory usage, and be able to spill to disc when its quota is reached. -- This message was sent by Atlassian JIRA (v6.2#6252)