Not sure what is your requirement there, but if you have a 2 second streaming batch , you can create a 4 second stream out of it but the other way is not possible. Basically you can create one stream out of another stream.
..Manas -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/How-to-change-StreamingContext-batch-duration-after-loading-from-checkpoint-tp25624p25680.html Sent from the Apache Spark User List mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@spark.apache.org For additional commands, e-mail: user-h...@spark.apache.org