Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
davies committed Sep 30, 2014
1 parent a13ff34 commit fa7261b
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ class PythonReducedWindowedDStream(parent: DStream[Array[Byte]],
@transient pinvReduceFunc: PythonRDDFunction,
_windowDuration: Duration,
_slideDuration: Duration
) extends PythonStateDStream(parent, preduceFunc) {
) extends PythonDStream(parent, preduceFunc) {

super.persist(StorageLevel.MEMORY_ONLY)
override val mustCheckpoint = true

val invReduceFunc = new RDDFunction(pinvReduceFunc)

Expand Down

0 comments on commit fa7261b

Please sign in to comment.