Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2F5A8746D for ; Wed, 3 Aug 2011 17:03:53 +0000 (UTC) Received: (qmail 66669 invoked by uid 500); 3 Aug 2011 17:03:52 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 66123 invoked by uid 500); 3 Aug 2011 17:03:51 -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 65922 invoked by uid 99); 3 Aug 2011 17:03:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 17:03:51 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Aug 2011 17:03:49 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6EAB0A6C7B for ; Wed, 3 Aug 2011 17:03:27 +0000 (UTC) Date: Wed, 3 Aug 2011 17:03:27 +0000 (UTC) From: "Shai Erera (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <2121718045.5085.1312391007449.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <53511815.6362.1299020137873.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-2350) LocalJobRunner uses "mapred.output.committer.class" configuration property to retrive the OutputCommitter (regardless of whether the old API is used or the new API) 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-2350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13078844#comment-13078844 ] Shai Erera commented on MAPREDUCE-2350: --------------------------------------- Thanks Devaraj for looking into this. Patch looks good to me. > LocalJobRunner uses "mapred.output.committer.class" configuration property to retrive the OutputCommitter (regardless of whether the old API is used or the new API) > -------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: MAPREDUCE-2350 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-2350 > Project: Hadoop Map/Reduce > Issue Type: Bug > Reporter: Ahmed Radwan > Assignee: Devaraj K > Fix For: 0.23.0 > > Attachments: MAPREDUCE-2350.patch > > > LocalJobRunner uses the "mapred.output.committer.class" configuration property to retrieve the output committer for the job, which can be different from the Output Committer returned from OutputFormat.getOutputCommitter(TaskAttemptContext context). So, two different output committers can be used in the same job. > See line 324 in org.apache.hadoop.mapred.LocalJobRunner: OutputCommitter outputCommitter = job.getOutputCommitter(); > Need to modify this behavior to check if the new or the old API is used, and then return the correct output committer. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira