I\'ve written spark job:
object SimpleApp {
def main(args: Array[String]) {
val conf = new SparkConf().setAppName(\"Simple Application\").setMaster(\"l
The error message says that the Encoder is not able to take the Person case class.
Error:(15, 67) Unable to find encoder for type stored in a Dataset. Primitive types (Int, String, etc) and Product types (case classes) are supported by importing sqlContext.implicits._ Support for serializing other types will be added in future releases.
Move the declaration of the case class outside the scope of SimpleApp.