Error when mapping a schema RDD when converting lists

2014-12-08 Thread sahanbull
to understand what is going wrong here. Many thanks SahanB -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Error-when-mapping-a-schema-RDD-when-converting-lists-tp20577.html Sent from the Apache Spark User List mailing list archive at Nabble.com

Re: Error when mapping a schema RDD when converting lists

2014-12-08 Thread sahanbull
(lambda line: generateRecords(line)) Works!! But I am not convinced this is the best I could do :) Cheers SahanB -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Error-when-mapping-a-schema-RDD-when-converting-lists-tp20577p20579.html Sent from the Apache

Re: Error when mapping a schema RDD when converting lists

2014-12-08 Thread Davies Liu
-- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Error-when-mapping-a-schema-RDD-when-converting-lists-tp20577.html Sent from the Apache Spark User List mailing list archive at Nabble.com