You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2015/05/03 00:07:06 UTC
[jira] [Resolved] (SPARK-7323) Use insertAll instead of individual
insert while merging combiners
[ https://issues.apache.org/jira/browse/SPARK-7323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-7323.
------------------------------
Resolution: Fixed
Fix Version/s: 1.4.0
1.3.2
Issue resolved by pull request 5862
[https://github.com/apache/spark/pull/5862]
> Use insertAll instead of individual insert while merging combiners
> ------------------------------------------------------------------
>
> Key: SPARK-7323
> URL: https://issues.apache.org/jira/browse/SPARK-7323
> Project: Spark
> Issue Type: Improvement
> Components: Spark Core
> Reporter: Mridul Muralidharan
> Assignee: Mridul Muralidharan
> Fix For: 1.3.2, 1.4.0
>
>
> Currently we invoke combiners.insert() for each tuple in Aggregator - which results in creation of an Iterator per tuple, and iterating over this iterator : instead, we can directly call insertAll to avoid the object creation, method invocation and iteration overhead - for each tuple when combiners are used.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org