You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Robert Grandl <rg...@student.ethz.ch> on 2011/03/18 13:13:33 UTC

WordCount - sleep modification

Hi all,

I want to modify WordCount application in order to delay the execution 
of maps.

I have tried to put a sleep in map function but even a 1 ns sleep and 
for 128 MB blocks it took almost 30 minutes to complete. However, if 
regular execution takes almost 1:30 minutes, I want to put a delay such 
that the execution to take between 3-6 minutes at most.

Can somebody tell me what to do or where to set up the sleep in order to 
delay the execution of maps ?

Thank you very much for any suggestion.

Best regards,
Robert