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.
|Status||Open [ 1 ]||Patch Available [ 10002 ]|
|Fix Version/s||1.7.6 [ 12324942 ]|
|Attachment||AVRO-1373.1.patch [ 12613016 ]|
|Attachment||AVRO-1373.1.patch [ 12613017 ]|
|Status||Patch Available [ 10002 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Transition||Time In Source Status||Execution Times||Last Executer||Last Execution Date|
|41s||1||Nick White||05/Sep/13 02:00|
|67d 4h 54m||1||Doug Cutting||11/Nov/13 06:54|
|73d 15h 4m||1||Doug Cutting||23/Jan/14 21:58|