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 4BE33DBB5 for ; Thu, 6 Sep 2012 04:08:10 +0000 (UTC) Received: (qmail 835 invoked by uid 500); 6 Sep 2012 04:08:09 -0000 Delivered-To: apmail-incubator-crunch-dev-archive@incubator.apache.org Received: (qmail 696 invoked by uid 500); 6 Sep 2012 04:08: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 677 invoked by uid 99); 6 Sep 2012 04:08:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 04:08:07 +0000 Date: Thu, 6 Sep 2012 15:08:07 +1100 (NCT) From: "Rahul Sharma (JIRA)" To: crunch-dev@incubator.apache.org Message-ID: <338959237.42827.1346904487669.JavaMail.jiratomcat@arcas> In-Reply-To: <799036962.5153.1346135287637.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CRUNCH-52) Writing to a text file with avro types fills a file with the tostring of AvroWrapper 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-52?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rahul Sharma updated CRUNCH-52: ------------------------------- Attachment: 0001-CRUNCH-52-fill-text-files-with-toString-of-Datum-in-.patch The configureMapReduce looks exactly same as in FileTargetImpl, so I would still like to reuse it if possible. Here is another version of the same. I have modified the configureMapReduce protected API to have format class as a param and then pass it from Text class at run time. > Writing to a text file with avro types fills a file with the tostring of AvroWrapper > ------------------------------------------------------------------------------------ > > Key: CRUNCH-52 > URL: https://issues.apache.org/jira/browse/CRUNCH-52 > Project: Crunch > Issue Type: Bug > Affects Versions: 0.3.0 > Reporter: Robert Chu > Assignee: Rahul Sharma > Attachments: 0001-CRUNCH-52-Determine-the-output-format-to-use-based-o.patch, 0001-CRUNCH-52-fill-text-files-with-toString-of-Datum-in-.patch, CRUNCH-52.patch > > > Currently when writing a pcollection to a text file (provided by To.textFile(...)) TextOutputFormat doesn't unwrap avro types. -- 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