Skip to content

Commit aa8bb11

Browse files
baishuopwendell
authored andcommitted
Update WindowedDStream.scala
update the content of Exception when windowDuration is not multiple of parent.slideDuration Author: baishuo(白硕) <[email protected]> Closes apache#390 from baishuo/windowdstream and squashes the following commits: 533c968 [baishuo(白硕)] Update WindowedDStream.scala
1 parent fdfb45e commit aa8bb11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class WindowedDStream[T: ClassTag](
3232
extends DStream[T](parent.ssc) {
3333

3434
if (!_windowDuration.isMultipleOf(parent.slideDuration)) {
35-
throw new Exception("The window duration of windowed DStream (" + _slideDuration + ") " +
35+
throw new Exception("The window duration of windowed DStream (" + _windowDuration + ") " +
3636
"must be a multiple of the slide duration of parent DStream (" + parent.slideDuration + ")")
3737
}
3838

0 commit comments

Comments
 (0)