spark小例子
摘要:
var countData1 = src.map(line => (line.toLowerCase(),1)).reduceByKey(_+_).collect().foreach(println _) 阅读全文
posted @ 2017-02-05 21:05 sunyaxue 阅读(237) 评论(0) 推荐(0) 编辑
posted @ 2017-02-05 21:05 sunyaxue 阅读(237) 评论(0) 推荐(0) 编辑
posted @ 2017-02-05 15:41 sunyaxue 阅读(238) 评论(0) 推荐(0) 编辑
posted @ 2017-02-05 11:09 sunyaxue 阅读(281) 评论(0) 推荐(0) 编辑