Skip to content
This repository was archived by the owner on May 9, 2024. It is now read-only.

Commit 65ef07b

Browse files
author
Andrew Or
committed
Fix tests?
1 parent 4b487a3 commit 65ef07b

File tree

1 file changed

+1
-1
lines changed
  • streaming/src/main/scala/org/apache/spark/streaming/dstream

1 file changed

+1
-1
lines changed

streaming/src/main/scala/org/apache/spark/streaming/dstream/DStream.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ abstract class DStream[T: ClassTag] (
624624
* 'this' DStream will be registered as an output stream and therefore materialized.
625625
*/
626626
def foreachRDD(foreachFunc: RDD[T] => Unit): Unit = ssc.withScope {
627-
val cleanedF = context.sparkContext.clean(foreachFunc)
627+
val cleanedF = context.sparkContext.clean(foreachFunc, false)
628628
this.foreachRDD((r: RDD[T], t: Time) => cleanedF(r))
629629
}
630630

0 commit comments

Comments
 (0)