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/02 07:15:05 UTC

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

Andrew Or created SPARK-7318:
--------------------------------

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


{code}
  def transform[U: ClassTag](transformFunc: RDD[T] => RDD[U]): DStream[U] = {
SparkContext.clean
    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