You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "yuhao yang (JIRA)" <ji...@apache.org> on 2016/11/23 20:24:58 UTC

[jira] [Commented] (SPARK-18548) OnlineLDAOptimizer reads the same broadcast data after deletion

    [ https://issues.apache.org/jira/browse/SPARK-18548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15691290#comment-15691290 ] 

yuhao yang commented on SPARK-18548:
------------------------------------

Hi [~sunxiaoye0116] by second time, do you mean the line {code}val batchResult = statsSum :* expElogbeta.t {code}

If yes, then I don't see it as a trouble since that line runs only on driver.

> OnlineLDAOptimizer reads the same broadcast data after deletion
> ---------------------------------------------------------------
>
>                 Key: SPARK-18548
>                 URL: https://issues.apache.org/jira/browse/SPARK-18548
>             Project: Spark
>          Issue Type: Improvement
>          Components: MLlib
>    Affects Versions: 1.6.1
>            Reporter: Xiaoye Sun
>            Priority: Trivial
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> In submitMiniBatch() called by OnlineLDAOptimizer, broadcast variable expElogbeta is deleted before its use in the second time, which causes the executor reads the same large broadcast data twice. I suggest to move the broadcast data deletion (expElogbetaBc.unpersist()) later. 



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