Return-Path: Delivered-To: apmail-hadoop-core-dev-archive@www.apache.org Received: (qmail 41857 invoked from network); 11 Jun 2009 04:25:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 11 Jun 2009 04:25:20 -0000 Received: (qmail 91821 invoked by uid 500); 11 Jun 2009 04:25:31 -0000 Delivered-To: apmail-hadoop-core-dev-archive@hadoop.apache.org Received: (qmail 91762 invoked by uid 500); 11 Jun 2009 04:25:31 -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 91685 invoked by uid 99); 11 Jun 2009 04:25:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2009 04:25:30 +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; Thu, 11 Jun 2009 04:25:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id AE6F9234C052 for ; Wed, 10 Jun 2009 21:25:07 -0700 (PDT) Message-ID: <1899395769.1244694307713.JavaMail.jira@brutus> Date: Wed, 10 Jun 2009 21:25:07 -0700 (PDT) From: "Sharad Agarwal (JIRA)" To: core-dev@hadoop.apache.org Subject: [jira] Resolved: (HADOOP-5833) SequenceFileOutputFormat.setOutputPath(Job,Path) should set the Output Format Class to SequenceFileOutputFormat In-Reply-To: <1304727620.1242293445742.JavaMail.jira@brutus> 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/HADOOP-5833?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sharad Agarwal resolved HADOOP-5833. ------------------------------------ Resolution: Invalid setOutputPath should not set the output format class. Its better if users set that explicitly. Resolving this issue. Please reopen if anyone thinks otherwise. > SequenceFileOutputFormat.setOutputPath(Job,Path) should set the Output Format Class to SequenceFileOutputFormat > --------------------------------------------------------------------------------------------------------------- > > Key: HADOOP-5833 > URL: https://issues.apache.org/jira/browse/HADOOP-5833 > Project: Hadoop Core > Issue Type: Bug > Components: mapred > Affects Versions: 0.20.0 > Reporter: Daniel Leffel > Priority: Minor > Attachments: hadoop-5833.patch > > > The documentation references that OutputFormat.setOutputPath(Job,Path) sets the job up appropriately. However, that's not the case for SequenceFileOutputFormat.setOutputPath(Job,Path). This has tripped up more than one new user. SequenceFileOutputFormat.setOutputPath(Job,Path) should call both the superclass method as well as job.setOutputFormatClass(SequenceFileOutputFormat.class); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.