I have just checked HadoopConfigurationBuilder
/ HadoopConfigurationBuilderTest - everything looks
fine and it's possible to override the value as expected.

Can you check the Hadoop config files on the remote machines?
Is mapred.tasktracker.map.tasks.maximum set to "2"?

-- Andrei Savu / andreisavu.ro

On Mon, Jan 30, 2012 at 7:44 PM, Edmar Ferreira <
[email protected]> wrote:

> Hi guys,
>
> I want to set my maximum number of tasks per node to 1, so I put this line
> on my whirr config file :
>
> hadoop-mapreduce.mapred.tasktracker.map.tasks.maximum=1
>
> However when I run my job with verbose mode I see the value set as 2.
>
> My full config file:
>
>   1 whirr.cluster-name=hadoopcluster
>   2 whirr.instance-templates= 1 hadoop-jobtracker+hadoop-namenode,1
> hadoop-datanode+hadoop-tasktracker
>   3 whirr.provider=aws-ec2
>   4 #whirr.image-id=us-west-1/ami-f197c9b4
>   5 #whirr.location-id=us-west-1
>   6 #whirr.aws-ec2-spot-price=0.085
>   7 whirr.identity=${env:AWS_ACCESS_KEY_ID}
>   8 whirr.credential=${env:AWS_SECRET_ACCESS_KEY}
>   9 whirr.private-key-file=${sys:user.home}/.ssh/id_rsa
>  10 whirr.public-key-file=${sys:user.home}/.ssh/id_rsa.pub
>  11 hadoop-mapreduce.mapred.tasktracker.map.tasks.maximum=1
>  12 whirr.hadoop.version=0.20.2
>  13 whirr.hadoop.tarball.url=
> http://archive.apache.org/dist/hadoop/core/hadoop-${whirr.hadoop.version}/hadoop-${whirr.hadoop.version}.tar.gz
>
>
>
>
> Thanks.
>
> --
> Edmar Ferreira
> Co-Founder at Everwrite
>
>

Reply via email to