You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2016/04/06 20:39:25 UTC
[jira] [Resolved] (SPARK-14322) Use treeAggregate instead of reduce
in OnlineLDAOptimizer
[ https://issues.apache.org/jira/browse/SPARK-14322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joseph K. Bradley resolved SPARK-14322.
---------------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
1.6.2
1.5.3
> Use treeAggregate instead of reduce in OnlineLDAOptimizer
> ---------------------------------------------------------
>
> Key: SPARK-14322
> URL: https://issues.apache.org/jira/browse/SPARK-14322
> Project: Spark
> Issue Type: Bug
> Components: ML, MLlib
> Affects Versions: 1.3.1, 1.4.1, 1.5.2, 1.6.1, 2.0.0
> Reporter: Joseph K. Bradley
> Assignee: yuhao yang
> Fix For: 1.5.3, 1.6.2, 2.0.0
>
>
> OnlineLDAOptimizer uses {{RDD.reduce}} in two places where it could use treeAggregate. This can cause scalability issues. This should be an easy fix.
> This is also a bug since it modifies the first argument to reduce, so we should use aggregate or treeAggregate.
> See this line: [https://github.com/apache/spark/blob/f12f11e578169b47e3f8b18b299948c0670ba585/mllib/src/main/scala/org/apache/spark/mllib/clustering/LDAOptimizer.scala#L452]
> and a few lines below it.
--
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