Hi,

Do you have maybe an issue with naming. HBase takes the hostname (as shown in 
the UI and the ZK dump there) and hints that to the MR framework. But if that 
resolves to different names, then no match can be made and the node to run the 
task on is chosen by random. Could you verify?

Lars

On Dec 7, 2011, at 6:21 AM, Rohit Kelkar wrote:

> My hadoop cluster has 3 nodes in it and hbase too runs on the same 3
> nodes. But the table that I am speaking of has only one region and
> http://master:50030/jobtracker.jsp shows only one mapper running.
> - Rohit Kelkar
> 
> On Tue, Dec 6, 2011 at 8:38 PM, Stack <[email protected]> wrote:
>> On Tue, Dec 6, 2011 at 12:50 AM, Rohit Kelkar <[email protected]> wrote:
>>> I am running a mapreduce job on a hbase table. I hava a 3 node
>>> cluster. Currently the table has only a few rows. When I visit the
>>> http://master:60010/master.jsp I can see that the table resides on
>>> only one region server. When I run my mapreduce job on this table I
>>> see the mapper running on a different node of my cluster. Shouldn't
>>> the mapper be running on the same node that hosts the table?
>>> I am using the TableMapReduceUtil.initTableMapperJob method to
>>> initialize the mapreduce job.
>>> 
>> 
>> Yes.  Mappers should be running by the data.
>> 
>> You have only one region in your table or more than one region and
>> more than one mapper is running?
>> 
>> St.Ack

Reply via email to