1. request:
2. scala:
sc.textFile("input").flatMap(_.split(" ")).map((_,1)).reduceByKey(_+_).collect