spark出现task不能序列化错误的解决方法 org.apache.spark.SparkException: Task not serializable

NoSuchKey