摘要:
Basic Functionssc.parallelize(List(1,2,3,4,5,6)).map(_ * 2).filter(_ > 5).collect()*** res: Array[Int] = Array(6, 8, 10, 12) ***val rdd = sc.parallelize(List(1,2,3,4,5,6,7,8,9,10))rdd.reduce(_+_)*** r... 阅读全文
posted @ 2016-01-06 15:18
linbojin
阅读(153)
评论(0)
推荐(0)