Yep figured that.

On Thu, Jul 9, 2009 at 7:09 PM, Owen O'Malley <[email protected]> wrote:

> You need two jobs:
>
> 1. map: line -> line, 1, combiner & reducer: sum values, sort by line
> 2. map: line, count -> count, line & reducer: count, line -> line, count
>
> So job 1 looks like word count and job 2 sorts it by the counts.
>
> -- Owen
>



-- 
Marcus Herou CTO and co-founder Tailsweep AB
+46702561312
[email protected]
http://www.tailsweep.com/

Reply via email to