Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1373

Add A XZ Codec

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.5
    • 1.7.6
    • java

    Description

      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.

      Attachments

        1. AVRO-1373.1.patch
          33 kB
          Nick White
        2. AVRO-1373.patch
          23 kB
          Doug Cutting
        3. xz-codec.patch
          24 kB
          Nick White

        Activity

          People

            njw45 Nick White
            njw45 Nick White
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: