Hi Andrew, Thanks for the reply!
It's clearer about the API part now. That's what I wanted to know. Wow, tuples, why didn't that occur to me. That's a lovely ugly hack. :) I also came across something that solved my real problem though - the RDD.toLocalIterator method from 1.0, the logic of which thankfully works with 0.9.1 too, no new API changes there. Cheers, Nilesh -- View this message in context: http://apache-spark-developers-list.1001551.n3.nabble.com/all-values-for-a-key-must-fit-in-memory-tp6342p6794.html Sent from the Apache Spark Developers List mailing list archive at Nabble.com.