|| at Jun 3, 2008 at 12:19 pm
Do you mean read output file which create by SequenceFile.createWriter? If so, maybe below code part will be useful. It reads out long integer number out from sequence file.
SequenceFile.Reader reader = new SequenceFile.Reader(fileSys, inFile, jobConf);
LongWritable numInside = new LongWritable();
LongWritable numOutside = new LongWritable();
From: Lin Guo
Sent: 2008年6月3日 18:17
Subject: how to deserialize the contents of hadoop output (sequencefileoutputformat)
I am wondering whether it is possible to deserialize the keys and values in a hadoop output file where the output format is SequenceFileOutputFormat.