hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fei Hu <hufe...@gmail.com>
Subject Re: Prune out data to a specific reduce task
Date Thu, 12 Mar 2015 16:40:04 GMT
Maybe you could use Partitioner.class to solve your problem.

> On Mar 11, 2015, at 6:28 AM, xeonmailinglist-gmail <xeonmailinglist@gmail.com <mailto:xeonmailinglist@gmail.com>>
wrote:
> 
> Hi,
> 
> I have this job that has 3 map tasks and 2 reduce tasks. But, I want to excludes data
that will go to the reduce task 2. This means that, only reducer 1 will produce data, and
the other one will be empty, or even it doesn't execute.
> 
> How can I do this in MapReduce?
> 
> <ExampleJobExecution.png>
> 
> 
> Thanks,
> 
> -- 
> --


Mime
View raw message