FAQ
Hi,

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.



Thanks.



Wasim

Search Discussions

  • Enis Soztutar at Sep 7, 2009 at 3:43 pm
    Hi,

    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:

    Hi,

    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.



    Thanks.



    Wasim

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-user @
categorieshadoop
postedSep 7, '09 at 10:55a
activeSep 7, '09 at 3:43p
posts2
users2
websitehadoop.apache.org...
irc#hadoop

2 users in discussion

Enis Soztutar: 1 post Wasim Bari: 1 post

People

Translate

site design / logo © 2023 Grokbase