I am looking for an example which is using the new API to read and write Sequence Files.
Effectively I need to know how to use these functions
creat
You need to set SequenceFile as input format
SequenceFile
job.setInputFormatClass(SequenceFileInputFormat.class);
You will find an example of reading SeequnceFile form HDFS here.