Skip to content

Commit

Permalink
Update WindowedDStream.scala
Browse files Browse the repository at this point in the history
update the content of Exception when windowDuration is not multiple of parent.slideDuration
  • Loading branch information
baishuo committed Apr 11, 2014
1 parent 1fa48d9 commit 533c968
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class WindowedDStream[T: ClassTag](
extends DStream[T](parent.ssc) {

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

Expand Down

0 comments on commit 533c968

Please sign in to comment.