You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Rafael Caballero <ra...@ucm.es> on 2016/06/28 09:58:47 UTC

Create JavaRDD from list in Spark 2.0

Hi,

The usual way of creating a JavaRDD from a list is to use
JavaSparkContext.parallelize(List)

However, in Spark 2.0 SparkSession is used as entry point and I don't know
how to create a JavaRDD from a List. Is this possible?

Thanks and best regards,

Rafael Caballero




--
View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Create-JavaRDD-from-list-in-Spark-2-0-tp27241.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org