Hello James, Did you check the following resources:
- https://github.com/apache/spark/tree/master/streaming/src/test/java/org/apache/spark/streaming - http://www.slideshare.net/databricks/strata-sj-everyday-im-shuffling-tips-for-writing-better-spark-programs -- Emre Sevinç http://www.bigindustries.be/ On Tue, Apr 21, 2015 at 1:26 PM, James King <jakwebin...@gmail.com> wrote: > I'm trying to write some unit tests for my spark code. > > I need to pass a JavaPairDStream<String, String> to my spark class. > > Is there a way to create a JavaPairDStream using Java API? > > Also is there a good resource that covers an approach (or approaches) for > unit testing using Java. > > Regards > jk > -- Emre Sevinc