Fascination About Spark
Prior to execution, Spark computes the job?�s closure. The closure is Those people variables and strategies which have to be seen for that executor to accomplish its computations around the RDD (In such a case foreach()). This closure is serialized and despatched to each executor.RDD.saveAsObjectFile and SparkContext.objectFile assist preserving