[ 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)