Return-Path: Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: (qmail 16768 invoked from network); 14 Oct 2009 05:12:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Oct 2009 05:12:55 -0000 Received: (qmail 46272 invoked by uid 500); 14 Oct 2009 05:12:55 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 46205 invoked by uid 500); 14 Oct 2009 05:12: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 46195 invoked by uid 99); 14 Oct 2009 05:12:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 05:12: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, 14 Oct 2009 05:12:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 434A4234C045 for ; Tue, 13 Oct 2009 22:12:31 -0700 (PDT) Message-ID: <599924418.1255497151271.JavaMail.jira@brutus> Date: Tue, 13 Oct 2009 22:12:31 -0700 (PDT) From: "Amar Kamat (JIRA)" To: mapreduce-issues@hadoop.apache.org Subject: [jira] Commented: (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:comment-tabpanel&focusedCommentId=12765396#action_12765396 ] Amar Kamat commented on MAPREDUCE-947: -------------------------------------- bq. I wish OutputCommitter's methods were called commit and abort rather than the current apis of cleanupJob and abortJob... sigh! This is insync with the apis for tasks i.e abortTask() and cleanupTask() bq. OutputCommitter.abortJob should take a JobStatus.State enum rather than a boolean for jobFailed/jobKilled We thought of that but then for an unsuccessful job we dont expect many states other than killed or failed. Do have a case in mind where a enum is must? bq. I'd probably set SUCCEEDED_FILE_NAME to be _done or _DONE Arun, _done is ambiguous (succeeded/failed/killed). _success is precise. bq. We adding a findbugs suppression, I assume this is for the JobContext being from the different package? We should justify them in future. Yes. The findbugs is confused between the two classes (mapred and mapreduce). bq. Default value of mapreduce.fileoutputcommitter.marksuccessfuljobs should be 'true' and we shouldn't put it in mapred-default.xml; it should be a hidden parameter so we can remove this in the next release. It is true and its not mentioned in mapred-default. I have made the default value false for testcases so that they remain unchanged. > 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.12-branch-0.20-internal.patch, mapred-948-v1.12.patch, mapred-948-v1.13-branch-0.20-internal.patch, mapred-948-v1.2.patch, mapred-948-v1.3.patch, mapred-948-v1.4.patch, mapred-948-v1.7.patch, mapred-948-v2.1-branch-0.20.patch, mapred-948-v2.3-branch-0.20.patch, mapred-948-v2.3.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.