Github user rxin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/143#discussion_r14331096
  
    --- Diff: 
streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala ---
    @@ -533,7 +533,7 @@ abstract class DStream[T: ClassTag] (
        * on each RDD of 'this' DStream.
        */
       def transform[U: ClassTag](transformFunc: RDD[T] => RDD[U]): DStream[U] 
= {
    -    transform((r: RDD[T], t: Time) => 
context.sparkContext.clean(transformFunc(r)))
    +    transform((r: RDD[T], t: Time) => 
context.sparkContext.clean(transformFunc(r), false))
    --- End diff --
    
    @willb I think you missed this. Make sure you add comment above this line 
to explain the reason why we do not check serializable ...


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to