could not find implicit value for parameter param: org.apache.spark.AccumulatorParam
could not find implicit value for parameter param: org.apache.spark.AccumulatorParam?
You need to import SparkContext._ at the top of your program to get those implicit values.