I'm working in SBT console and have imported the following
scala> import org.apache.spark._
scala> val sc = new SparkContext("local", "shell")
scala> import org.apache.spark.rdd._
scala> case class MyClass(foobar: String, something: String)
You can use
sc.parallelize and give that a
List of your objects.