|| at Sep 7, 2009 at 3:43 pm
Currently there is no way to signal a message to the map/reducer tasks.
The issue was closed as won't fix.
What you can do for now, is for example periodically check for a
existence of a file in HDFS and if the file is present, just return from
all map tasks.
Wasim Bari wrote:
Is there some way to return control from MAP funtion and complete the job.
I am searching a file and when i get my required data i want mappers to stop rather than seraching the remaning part.