Yeah, we could make it take Iterable too if that helped. What data structure did you have here?
Matei On Mar 10, 2014, at 6:29 PM, wallacemann <wall...@bandpage.com> wrote: > I was right ... I was missing something obvious. The answer to my question > is to use JavaSparkContext.parallelize which works with List<T> or > List<Tuple2<K,V>>. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/How-to-create-RDD-from-Java-in-memory-data-tp2486p2487.html > Sent from the Apache Spark User List mailing list archive at Nabble.com.