hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Angeles <patr...@cloudera.com>
Subject Re: I want to group "similar" keys in the reducer.
Date Mon, 15 Mar 2010 17:29:35 GMT
You can use a custom Partitioner to send keys to a specific reducer. Note
that your reducer will still process one key at a time.

On Mon, Mar 15, 2010 at 1:26 PM, Raymond Jennings III <raymondjiii@yahoo.com
> wrote:

> Is it possible to override a method in the reducer so that similar keys
> will be grouped together?  For example I want all keys of value "KEY1" and
> "KEY2" to merged together.  (My reducer has a KEY of type TEXT.)  Thanks.
>
>
>
>

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