测试代码: package sparkcore import org.apache.spark.{SparkConf, SparkContext} /** * Created by chingy on 2017/10/2. */ object WordCount {