Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 68606 invoked from network); 20 Aug 2008 11:15:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 20 Aug 2008 11:15:10 -0000 Received: (qmail 88959 invoked by uid 500); 20 Aug 2008 11:15:06 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 88933 invoked by uid 500); 20 Aug 2008 11:15: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 88922 invoked by uid 99); 20 Aug 2008 11:15: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:15: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:14:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 717AB234C1BE for ; Wed, 20 Aug 2008 04:14:47 -0700 (PDT) Message-ID: <611624831.1219230887463.JavaMail.jira@brutus> Date: Wed, 20 Aug 2008 04:14:47 -0700 (PDT) From: "Sharad Agarwal (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=12623958#action_12623958 ] Sharad Agarwal commented on HADOOP-3973: ---------------------------------------- I prefer separate user defined exception api : UserException extends RuntimeException. BreakTaskException (or something similar) extends UserException. This would allow to add more UserException for various actions in future. Thoughts? > 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.