Re: JobScheduler: Error generating jobs for time for custom InputDStream

2015-09-29 Thread Juan Rodríguez Hortalá
Hi Shixiong, Thanks for your answer. I will take a lot to your suggestion, maybe my call to SparkContext.parallelize doesn't work well when there are less records to parallelize than partitions. Thanks a lot for your help Greetings, Juan 2015-09-24 2:04 GMT-07:00 Shixiong Zhu

Re: JobScheduler: Error generating jobs for time for custom InputDStream

2015-09-24 Thread Shixiong Zhu
Looks like you returns a "Some(null)" in "compute". If you don't want to create a RDD, it should return None. If you want to return an empty RDD, it should return "Some(sc.emptyRDD)". Best Regards, Shixiong Zhu 2015-09-15 2:51 GMT+08:00 Juan Rodríguez Hortalá < juan.rodriguez.hort...@gmail.com>:

JobScheduler: Error generating jobs for time for custom InputDStream

2015-08-26 Thread Juan Rodríguez Hortalá
Hi, I've developed a ScalaCheck property for testing Spark Streaming transformations. To do that I had to develop a custom InputDStream, which is very similar to QueueInputDStream but has a method for adding new test cases for dstreams, which are objects of type Seq[Seq[A]], to the DStream. You