hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joan <joan.monp...@gmail.com>
Subject how to increase number of maps
Date Fri, 04 Feb 2011 12:51:06 GMT
Hi,

I'm running my M/R and I can see that the number of maps is only one, and if
I see the output console I can read

11/02/04 13:36:31 INFO mapreduce.Job:  map 0% reduce 0%
11/02/04 13:37:33 INFO mapreduce.Job:  map 1% reduce 0%
11/02/04 13:37:57 INFO mapreduce.Job:  map 2% reduce 0%
11/02/04 13:38:24 INFO mapreduce.Job:  map 3% reduce 0%
11/02/04 13:38:52 INFO mapreduce.Job:  map 4% reduce 0%
11/02/04 13:39:28 INFO mapreduce.Job:  map 5% reduce 0%
11/02/04 13:39:52 INFO mapreduce.Job:  map 6% reduce 0%
11/02/04 13:40:25 INFO mapreduce.Job:  map 7% reduce 0%
11/02/04 13:41:04 INFO mapreduce.Job:  map 8% reduce 0%
11/02/04 13:41:25 INFO mapreduce.Job:  map 9% reduce 0%
11/02/04 13:41:46 INFO mapreduce.Job:  map 10% reduce 0%
11/02/04 13:42:07 INFO mapreduce.Job:  map 11% reduce 0%
11/02/04 13:42:28 INFO mapreduce.Job:  map 12% reduce 0%
...

Why Is mapreduce doing that?

I don't understand

I force number of maps with:

 job.getConfiguration().set("mapreduce.job.maps","4");
 job.getConfiguration().set("mapreduce.map.tasks","4");

But this configuration doesn't run.

Thanks joan

Mime
View raw message