[ https://issues.apache.org/jira/browse/AVRO-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nick White updated AVRO-1373: ----------------------------- Attachment: AVRO-1373.1.patch > 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: AVRO-1373.1.patch, AVRO-1373.patch, 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)