hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Meil <doug.m...@explorysmedical.com>
Subject Re: Set num of mappers in a TableMapReduceUtil.initTableMapperJob
Date Thu, 01 Mar 2012 01:52:41 GMT

You probably want to see this...


On 2/29/12 7:48 PM, "Vrushali C" <vrushali@ymail.com> wrote:

>I am using TableMapReduceUtil.initTableMapperJob to initiate a map reduce
>job that scans the entire table and processes records in it.
>I wanted to know if I can control/hint to the framework for setting the
>number of mappers.
>I was searching online and I see that JobConf's conf.setNumMapTasks(int
>num) is deprecated.  I tried setting the number of tasks in the code
>c.set("mapred.map.tasks", "5"); or
>    c.setInt("mapred.map.tasks", 5);
>but that doesn't work.

View raw message