Thanks for the reply. I am trying to save a huge file in my case it is 60GB. I think l.toSeq is going to collect all the data into the driver , where I don't have that much space . Is there any possibility using something like multipleoutput format class etc for a large file.
Thanks, Durga. -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/Java-null-pointer-exception-while-saving-hadoop-file-tp10220p10249.html Sent from the Apache Spark User List mailing list archive at Nabble.com.