报错:It appears that you are attempting to reference SparkContext from a broadcast variable, action
报错_pickle.PicklingError:Couldnotserializeobject:Exception:ItappearsthatyouareattemptingtoreferenceSparkContextfromabroadcastvariable,action,ortransformation.SparkContextcanonlybeusedonthedriver,notinc