I saved my RDD of (key, value) pairs to a text file using saveAsTextFile. After I read the text file back using sc.textFile(\"filename.txt\") command, I ended u
You're going to have to implement a parser for your input. The easiest thing to do is to map your output to a character separated output with a tab or colon delimeter and use spilt(delimiter) in your map upon reading, basically like in the wordCount example.