摘要: load方法: a=sc.textFile("feature/all.txt")a.collect() [u"('one', 1)", u"('two', 1)", u"('two', 1)", u"('three', 1)", u"('three', 1)", u"('three', 1)"] 阅读全文
posted @ 2017-11-01 17:38 bonelee 阅读(11769) 评论(0) 推荐(0)
摘要: 过滤了出现次数大于2的结果。 阅读全文
posted @ 2017-11-01 09:34 bonelee 阅读(1075) 评论(0) 推荐(0)