Skip to content

Commit

Permalink
Update ReducedWindowedDStream.scala
Browse files Browse the repository at this point in the history
change  _slideDuration  to   _windowDuration

Author: baishuo(白硕) <[email protected]>

Closes apache#425 from baishuo/master and squashes the following commits:

6f09ea1 [baishuo(白硕)] Update ReducedWindowedDStream.scala
  • Loading branch information
baishuo authored and rxin committed Apr 17, 2014
1 parent 9c40b9e commit 07b7ad3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ReducedWindowedDStream[K: ClassTag, V: ClassTag](
) extends DStream[(K,V)](parent.ssc) {

assert(_windowDuration.isMultipleOf(parent.slideDuration),
"The window duration of ReducedWindowedDStream (" + _slideDuration + ") " +
"The window duration of ReducedWindowedDStream (" + _windowDuration + ") " +
"must be multiple of the slide duration of parent DStream (" + parent.slideDuration + ")"
)

Expand Down

0 comments on commit 07b7ad3

Please sign in to comment.