hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Tse <kevintse.on...@gmail.com>
Subject Is it possible to sort values before they are sent to the reduce function?
Date Mon, 14 Jun 2010 02:16:59 GMT
For each key, there might be millions of values(LongWritable), but I only
want to emit top 20 of these values which I want to be sorted in descending
So is it possible to sort these values before they enter the reduce phase?

Thank you in advance!

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message