Exception in thread "main" org.apache.spark.SparkException: Task not serializable

NoSuchKey