Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 67940 invoked from network); 20 Aug 2008 11:13:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2008 11:13:09 -0000 Received: (qmail 84637 invoked by uid 500); 20 Aug 2008 11:13:06 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 84615 invoked by uid 500); 20 Aug 2008 11:13:06 -0000 Mailing-List: contact core-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: core-dev@hadoop.apache.org Delivered-To: mailing list core-dev@hadoop.apache.org Received: (qmail 84604 invoked by uid 99); 20 Aug 2008 11:13:06 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 04:13:06 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Aug 2008 11:12:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 72AD3234C1BE for ; Wed, 20 Aug 2008 04:12:47 -0700 (PDT) Message-ID: <1339568356.1219230767468.JavaMail.jira@brutus> Date: Wed, 20 Aug 2008 04:12:47 -0700 (PDT) From: "Amir Youssefi (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Commented: (HADOOP-3973) Breaking out of a task In-Reply-To: <1108548123.1219180064247.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HADOOP-3973?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623957#action_12623957 ] Amir Youssefi commented on HADOOP-3973: --------------------------------------- Changing Signature of Reporter methods may not have any backward compatibility issues. Adding extra attribute, setter... or using current setStatus() with a pre-defined String will do. I think exception method is cleaner because flag (a Config Setting) is not necessary to remedy performance issue. We are still discussing Map . Regarding Map and HADOOP-3700 , user can simply skip calling collect and there doesn't seem to be a need for an exception. > Breaking out of a task > ---------------------- > > Key: HADOOP-3973 > URL: https://issues.apache.org/jira/browse/HADOOP-3973 > Project: Hadoop Core > Issue Type: New Feature > Components: mapred > Reporter: Amir Youssefi > > Occasionally a mapper/reducer is done without need to see more input data. If we provide a way to break out and skip reading the rest of input then job finishs earlier and resources are spared. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.