Hi,
JavaRDD<Instrument> studentsData = sc.parallelize(list);--list is Student Info List<Student> studentsData.saveAsTextFile("hdfs://master/data/spark/instruments.txt"); above statements saved the students information in the HDFS as a text file. Each object is a line in text file as below. [cid:image001.png@01D0027F.FB321550] How to read that file, I mean each line as Object of student. -Naveen