Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 24D30200B13 for ; Wed, 15 Jun 2016 09:29:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 235A0160A5D; Wed, 15 Jun 2016 07:29:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 96C6B160A4C for ; Wed, 15 Jun 2016 09:29:18 +0200 (CEST) Received: (qmail 77203 invoked by uid 500); 15 Jun 2016 07:29:11 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 77089 invoked by uid 99); 15 Jun 2016 07:29:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jun 2016 07:29:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 5915F2C14F8 for ; Wed, 15 Jun 2016 07:29:09 +0000 (UTC) Date: Wed, 15 Jun 2016 07:29:09 +0000 (UTC) From: =?utf-8?Q?Piotr_Wikie=C5=82_=28JIRA=29?= To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: =?utf-8?Q?[jira]_[Updated]_(AVRO-1862)_AvroOutputFormat_saves_compres?= =?utf-8?Q?sed_avr=C3=B2_files_without_respec?= =?utf-8?Q?ting_codec's_default_extension?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 15 Jun 2016 07:29:19 -0000 [ https://issues.apache.org/jira/browse/AVRO-1862?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:all-tabpanel ] Piotr Wikie=C5=82 updated AVRO-1862: ------------------------------- Attachment: AVRO-1862.patch > AvroOutputFormat saves compressed avr=C3=B2 files without respecting code= c's default extension > -------------------------------------------------------------------------= ---------------- > > Key: AVRO-1862 > URL: https://issues.apache.org/jira/browse/AVRO-1862 > Project: Avro > Issue Type: Improvement > Components: java > Reporter: Piotr Wikie=C5=82 > Priority: Minor > Attachments: AVRO-1862.patch > > > Common pattern in naming compressed files is giving them extension derive= d from compression codec, for example: {.gz}, {.zip}, {.bz2}.=20 > {AvroOutputFormat} currently does not respect this convention.=20 > I've adapted some code from Hadoop's {TextOutputFormat} in backward-compa= tible manner adding following {JobConf} property: > {avro.mapred.output.extension.from-codec} ({boolean}, default: {false}) -= when set to {true}, extension will be changed according to above rule. -- This message was sent by Atlassian JIRA (v6.3.4#6332)