Re: Writing/Saving RDD to HDFS using saveAsTextFile

2016-10-07 Thread Deepak Sharma
Hi Mahendra Did you tried mapping the X case class members further to a String object and then saving the RDD[String] ? Thanks Deepak On Oct 7, 2016 23:04, "Mahendra Kutare" wrote: > Hi, > > I am facing issue with writing RDD[X] to HDFS file path. X is a simple > case class with variable time

Writing/Saving RDD to HDFS using saveAsTextFile

2016-10-07 Thread Mahendra Kutare
Hi, I am facing issue with writing RDD[X] to HDFS file path. X is a simple case class with variable time as primitive long. When I run the driver program with - master as spark://:7077 I get this - Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.readFully(Ob