You should use SimpleDateFormat
outside the map of a RDD, because this class is not serialization, not thread safe. Just move this function into the map.
[Bug solve]Spark: Task not Serialization
最新推荐文章于 2020-04-01 16:52:59 发布
You should use SimpleDateFormat
outside the map of a RDD, because this class is not serialization, not thread safe. Just move this function into the map.