You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Andrew Or (JIRA)" <ji...@apache.org> on 2015/05/05 18:38:59 UTC

[jira] [Closed] (SPARK-7318) DStream isn't cleaning closures correctly

     [ https://issues.apache.org/jira/browse/SPARK-7318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Or closed SPARK-7318.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.0

> DStream isn't cleaning closures correctly
> -----------------------------------------
>
>                 Key: SPARK-7318
>                 URL: https://issues.apache.org/jira/browse/SPARK-7318
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core, Streaming
>    Affects Versions: 1.0.0
>            Reporter: Andrew Or
>            Assignee: Andrew Or
>            Priority: Critical
>             Fix For: 1.4.0
>
>
> {code}
>   def transform[U: ClassTag](transformFunc: RDD[T] => RDD[U]): DStream[U] = {
>     transform((r: RDD[T], t: Time) => context.sparkContext.clean(transformFunc(r), false))
>   }
> {code}
> This is cleaning an RDD instead!



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