Sorry I wasn't being clear. The idea off the top of my head was that you could append an original position index to each element (using the line above), and modified what ever processing functions you have in mind to make them aware of these indices. And I think you are right that RDD collections are unordered by default.
On Fri, Jun 13, 2014 at 6:33 PM, SK <skrishna...@gmail.com> wrote: > Thanks. But that did not work. > > > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/convert-List-to-RDD-tp7606p7609.html > Sent from the Apache Spark User List mailing list archive at Nabble.com.