Return-Path: X-Original-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-crunch-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 27287DA38 for ; Thu, 27 Sep 2012 23:57:08 +0000 (UTC) Received: (qmail 72301 invoked by uid 500); 27 Sep 2012 23:57:08 -0000 Delivered-To: apmail-incubator-crunch-dev-archive@incubator.apache.org Received: (qmail 72260 invoked by uid 500); 27 Sep 2012 23:57:08 -0000 Mailing-List: contact crunch-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: crunch-dev@incubator.apache.org Delivered-To: mailing list crunch-dev@incubator.apache.org Received: (qmail 72047 invoked by uid 99); 27 Sep 2012 23:57:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 Sep 2012 23:57:07 +0000 Date: Fri, 28 Sep 2012 10:57:07 +1100 (NCT) From: "Robert Chu (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: <1027776147.136883.1348790227880.JavaMail.jiratomcat@arcas> In-Reply-To: <1087572468.136875.1348789867441.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CRUNCH-82) Support OutputFormats not based on FileOutputFormat when writing to multiple targets. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CRUNCH-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Chu updated CRUNCH-82: ----------------------------- Attachment: multipleoutputs.patch Here's a fix for some of these issues. Targets that use non HDFS based OutputFormats will still have to call: FileOutputFormat.setOutputPath in their configureForMapReduce method since job submission uses TextOutputFormat when no OutputFormat is set for a job (because writing to multiple targets uses the MultipleOutputs library). Job submission then validates the outputPath set in the job's configuration which will fail unless the above method is called. > Support OutputFormats not based on FileOutputFormat when writing to multiple targets. > ------------------------------------------------------------------------------------- > > Key: CRUNCH-82 > URL: https://issues.apache.org/jira/browse/CRUNCH-82 > Project: Crunch > Issue Type: Improvement > Affects Versions: 0.4.0 > Reporter: Robert Chu > Attachments: multipleoutputs.patch > > > Currently, writing to multiple targets with OutputFormats that aren't subclasses of FileOutputFormat fails because Crunch expects these targets to write to hdfs. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira