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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to