摘要: //groupBy def wordCount1(sc:SparkContext) = { val rdd = sc.makeRDD(List("hello scala","hello spark")) val words: RDD[String] = rdd.flatMap(_.split(" " 阅读全文
posted @ 2023-10-03 00:28 sunshin1 阅读(87) 评论(0) 推荐(0)