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();
      reader.next(numInside, numOutside);

-----Original Message-----
From: Lin Guo [mailto:[EMAIL PROTECTED] 
Sent: 2008年6月3日 18:17
To: [email protected]
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. 

many thanks!



      

Reply via email to