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:[email protected]]
How to read that file, I mean each line as Object of student.
-Naveen
