hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luca Pireddu <pire...@crs4.it>
Subject Re: Sorting ...
Date Wed, 25 May 2011 09:09:35 GMT
On May 25, 2011 01:43:22 Mark question wrote:
> Thanks Luca, but what other way to sort a directory of sequence files?
> 
> I don't plan to write a sorting algorithm in mappers/reducers, but hoping
> to use the sequenceFile.sorter instead.
> 
> Any ideas?
> 
> Mark

Maybe this class can help?

  org.apache.hadoop.mapreduce.lib.input.SequenceFileInputFormat

With it you should be able to read (key,value) records from your sequence files 
and then do whatever you need with them.


-- 
Luca Pireddu
CRS4 - Distributed Computing Group
Loc. Pixina Manna Edificio 1
Pula 09010 (CA), Italy
Tel:  +39 0709250452

Mime
View raw message