hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Pawar <nitinpawar...@gmail.com>
Subject Re: Set reducer capacity for a specific M/R job
Date Tue, 30 Apr 2013 10:07:47 GMT
The config you are setting is for job only

But if you want to reduce the slota on tasktrackers then you will need to
edit tasktracker conf and restart tasktracker
On Apr 30, 2013 3:30 PM, "Han JU" <ju.han.felix@gmail.com> wrote:

> Hi,
>
> I want to change the cluster's capacity of reduce slots on a per job
> basis. Originally I have 8 reduce slots for a tasktracker.
> I did:
>
> conf.set("mapred.tasktracker.reduce.tasks.maximum", "4");
> ...
> Job job = new Job(conf, ...)
>
>
> And in the web UI I can see that for this job, the max reduce tasks is
> exactly at 4, like I set. However hadoop still launches 8 reducer per
> datanode ... why is this?
>
> How could I achieve this?
> --
> *JU Han*
>
> Software Engineer Intern @ KXEN Inc.
> UTC   -  Université de Technologie de Compiègne
> *     **GI06 - Fouille de Données et Décisionnel*
>
> +33 0619608888
>

Mime
View raw message