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/04 20:23:25 UTC

[jira] [Updated] (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 updated SPARK-14322:
--------------------------------------
    Summary: Use treeAggregate instead of reduce in OnlineLDAOptimizer  (was: Use treeReduce instead of reduce in OnlineLDAOptimizer)

> Use treeAggregate instead of reduce in OnlineLDAOptimizer
> ---------------------------------------------------------
>
>                 Key: SPARK-14322
>                 URL: https://issues.apache.org/jira/browse/SPARK-14322
>             Project: Spark
>          Issue Type: Improvement
>          Components: ML, MLlib
>            Reporter: Joseph K. Bradley
>
> OnlineLDAOptimizer uses {{RDD.reduce}} in two places where it could use treeReduce.  This can cause scalability issues.  This should be an easy fix.
> 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