contained in this email is confidential and may be
> >> legally
> >> > privileged. It is intended solely for the addressee. Access to this
> >> email by
> >> > anyone else is unauthorized. If you are not the intended recipient,
> any
> >>
>> > in reliance on it, is prohibited and may be unlawful. Any views
>> expressed in
>> > this message are those of the individual and may not necessarily reflect
>> the
>> > views of Telescope Inc. or its associated companies.
>> >
>> >
>> &
expressed
> in
> > this message are those of the individual and may not necessarily reflect
> the
> > views of Telescope Inc. or its associated companies.
> >
> >
> > -Original Message-
> > From: Neil Ghosh [mailto:neil.gh...@gmail.com]
> > Sent
n
> this message are those of the individual and may not necessarily reflect the
> views of Telescope Inc. or its associated companies.
>
>
> -Original Message-
> From: Neil Ghosh [mailto:neil.gh...@gmail.com]
> Sent: Friday, September 10, 2010 3:51 PM
> To: Jam
e views
of Telescope Inc. or its associated companies.
-Original Message-
From: Neil Ghosh [mailto:neil.gh...@gmail.com]
Sent: Friday, September 10, 2010 3:51 PM
To: James Seigel
Cc: common-user@hadoop.apache.org
Subject: Re: TOP N items
Thanks James,
This gives me only N results for sur
nter(“ME", "total output records"
> );
> if (counter.getValue() < LIMIT) {
>
>
>
> context.write(key, value);
> counter.increment(1);
> }
>
>
> Cheers
> James.
>
>
>
> On 2010-09-10, at 3:04 PM, Ne
ounter.increment(1);
}
Cheers
James.
On 2010-09-10, at 3:04 PM, Neil Ghosh wrote:
Hello ,
I am new to Hadoop.Can anybody suggest any example or procedure of
outputting TOP N items having maximum total count, where the input file has
have (Item, count ) pair in each line .
Items can repeat.
Hello ,
I am new to Hadoop.Can anybody suggest any example or procedure of
outputting TOP N items having maximum total count, where the input file has
have (Item, count ) pair in each line .
Items can repeat.
Thanks
Neil
http://neilghosh.com
--
Thanks and Regards
Neil
http://neilghosh.com