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.