Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AF96410D8A for ; Fri, 11 Oct 2013 21:45:43 +0000 (UTC) Received: (qmail 76652 invoked by uid 500); 11 Oct 2013 21:45:43 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 76315 invoked by uid 500); 11 Oct 2013 21:45:42 -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 76295 invoked by uid 99); 11 Oct 2013 21:45:42 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Oct 2013 21:45:42 +0000 Date: Fri, 11 Oct 2013 21:45:41 +0000 (UTC) From: "Nick White (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1373) Add A XZ Codec 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/AVRO-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793068#comment-13793068 ] Nick White commented on AVRO-1373: ---------------------------------- Could I get a review for this patch? Thanks - > Add A XZ Codec > -------------- > > Key: AVRO-1373 > URL: https://issues.apache.org/jira/browse/AVRO-1373 > Project: Avro > Issue Type: New Feature > Components: java > Affects Versions: 1.7.5 > Reporter: Nick White > Assignee: Nick White > Labels: patch > Fix For: 1.7.6 > > Attachments: xz-codec.patch > > > The java Avro projects already depend on the commons-library; the attached patch adds support for the XZ codec using classes from it. I've also refactored some of the duplicated code in the tools project (the code that deals with the --codec and --level options) by moving a single copy to the Util class, and calling that from the various tools that produce Avro files. > The XZ codec by default uses the LZMA2 algorithm to compress files - this produces noticeably smaller files than the current bzip2 or deflate codecs. -- This message was sent by Atlassian JIRA (v6.1#6144)