Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 40652 invoked from network); 7 Oct 2009 08:08:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Oct 2009 08:08:55 -0000 Received: (qmail 64875 invoked by uid 500); 7 Oct 2009 08:08:55 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 64807 invoked by uid 500); 7 Oct 2009 08:08:55 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 64797 invoked by uid 99); 7 Oct 2009 08:08:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2009 08:08:55 +0000 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, 07 Oct 2009 08:08:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 90017234C051 for ; Wed, 7 Oct 2009 01:08:31 -0700 (PDT) Message-ID: <1961501036.1254902911588.JavaMail.jira@brutus> Date: Wed, 7 Oct 2009 01:08:31 -0700 (PDT) From: "Amar Kamat (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Updated: (MAPREDUCE-947) OutputCommitter should have an abortJob method MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Amar Kamat updated MAPREDUCE-947: --------------------------------- Attachment: mapred-948-v1.7.patch Attaching a new patch that adds a new method _abortJob(JobContext context, boolean failed)_ to OutputCommitter. Adding _failed for failed jobs and __killed_ for killed jobs in FileOutputCommitter. _test-patch_ passed on my box. Running ant tests. > OutputCommitter should have an abortJob method > ---------------------------------------------- > > Key: MAPREDUCE-947 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-947 > Project: Hadoop Map/Reduce > Issue Type: Improvement > Reporter: Owen O'Malley > Assignee: Amar Kamat > Fix For: 0.21.0 > > Attachments: mapred-948-v1.2.patch, mapred-948-v1.3.patch, mapred-948-v1.4.patch, mapred-948-v1.7.patch > > > The OutputCommitter needs an abortJob method to clean up from failed jobs. Currently there is no way to distinguish between failed or succeeded jobs, making it impossible to write output promotion code. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.