Changes

Jump to: navigation, search

The Real A Team

157 bytes removed, 11:22, 5 April 2016
Full Program
val text1 = sc.textFile("text1.txt")
val text2 = sc.textFile("text2.txt")
text1.flatMap { line => line.split(" ") } .map { word => (word,1) } .reduceByKey(_ + _) .saveAsTextFile("food.count.txt")
sc.stop

Navigation menu