Spark实现WordCount经典案例Spark实现WordCount经典案例
Spark实现WordCount经典案例创建数据源数据源随便弄一下,两份一样即可,数据用空格隔开,换行仅用spark进行连接,不适用spark提供的两种方法方法一package com.kuber.spark.core.wordcountimport org.apache.spark.rdd.RDDimport org.apache.spark.{SparkConf, SparkContext}object Spark01_WordCount { def main(args: Ar