Billy SuClosures in ScalaA closure is a function. Like any other Scala function, a Closure may be pure or impure. It may be named or anonymous, but it is primarily…4 min read·May 2, 2021----
Billy SuSpark Task not serializableCaused by: org.apache.spark.SparkException: Task not serializable at…3 min read·May 2, 2021----