hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen O'Malley <omal...@apache.org>
Subject Re: How to let Reducer know on which partition it is working
Date Wed, 26 Nov 2008 17:13:46 GMT

On Nov 26, 2008, at 4:35 AM, Jürgen Broß wrote:
>  I'm not sure how to let a Reducer know in its configure() method  
> which partition it will get from the Partitioner,

From:

http://hadoop.apache.org/core/docs/r0.19.0/mapred_tutorial.html#Task+JVM+Reuse

look for mapred.task.partition, which is a number from 0 to # reduces  
- 1.

-- Owen
Mime
View raw message