Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> changing SequenceFile format

Copy link to this message
Re: changing SequenceFile format
I think You can modify Writer's append method, and Reader's next method.

On Mon, Sep 13, 2010 at 5:15 PM, Matthew John
> Hi guys,
> I wanted to take in file with input : <key1><value1><key2><value2>......
> binary sequence file (key and value length are constant) as input for the
> Sort (examples) . But as I understand the data in a standard Sequencefile of
> hadoop is in the format : <Recordlength><Keylength><Key><Value>..... . Where
> should I modify the code so as to use my inputfile as input to the
> recordreader.
> Please pour in your views ..
> Matthew

Best Regards

Jeff Zhang