摘要: 2,wordcount: val wordcount = sc.textFile("/user/s-44/wordcount.txt").flatMap(_.split(' ')).map((_, 1)).reduceByKey(_ + _).sortByKey().collect val word 阅读全文
posted @ 2016-06-21 18:54 仔细思考一切 阅读(259) 评论(0) 推荐(0)