You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by Alejandro Abdelnur <tu...@gmail.com> on 2007/12/05 10:24:29 UTC

Re: MultithreadedMapRunner

On the JobConf use the setMapRunnerClass() method to set the multithreaded
map runner and set the mapred.map.multithreadedrunner.threads property with
the number of threads you want it to use.

That would do.

And make sure your map() code is thread safe.

A

On Dec 5, 2007 2:44 PM, Peter Thygesen <th...@infopaq.dk> wrote:

> Can anyone provide me with a java code sample of how I can use the
> MultithreadedMapRunner
> <http://lucene.apache.org/hadoop/api/org/apache/hadoop/mapred/lib/Multit
> hreadedMapRunner.html> ? Or at least some hints?
>
> Please.
>
>
>
> Thx.
>
> Peter
>
>