Hi Ranjini,

Please check this mapper class whether this suites your needs.
org.apache.hadoop.mapreduce.lib.map.MultithreadedMapper

Thanks and Regards,
Vinayakumar B
From: Ranjini Rathinam [mailto:[email protected]]
Sent: 09 December 2013 11:13
To: [email protected]
Subject: Re: hadoop -Mapreduce

HI,

I need to use thread functionality to run more than one mapper class parallelly.

Please suggest with some sample code.

Thanks in advance.
On Fri, Dec 6, 2013 at 4:37 PM, Subroto 
<[email protected]<mailto:[email protected]>> wrote:
Hi Ranjini,

The number of mappers depend on InputSplits and which intern depends on size of 
input data.
The number of reducers can be configured by "mapred.reduce.tasks"

Further you can get more information on numbers of Maps and Reduce for a Job 
from:
http://wiki.apache.org/hadoop/HowManyMapsAndReduces

Running parallel mappers and reducers depends on availability of map and reduce 
slots in the cluster.

Cheers,
Subroto Sanyal

On Dec 6, 2013, at 12:00 PM, Ranjini Rathinam wrote:


HI,

How to run more than one mapper and reduce parallelly.?

Please suggest.Thanks in advance.

Ranjini.


Reply via email to