You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Nick White (JIRA)" <ji...@apache.org> on 2013/10/11 23:45:41 UTC

[jira] [Commented] (AVRO-1373) Add A XZ Codec

    [ 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)