On Mon, Sep 6, 2010 at 1:47 AM, Neil Ghosh <[EMAIL PROTECTED]> wrote:
> I am trying to sort a list of numbers (one per line) using hadoop
> Kindly suggest any reference and code.
> How do I implement custom input format and recordreader so that both key and
> value are the number?
> I am using Hadoop 0.20.2
In the examples that come with Hadoop, you can find a 'sort' example.
The source is at o.a.h.examples.Sort.java. This should give you a good
starting point, IMO.
> Thanks and Regards