Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12794

Support additional compression levels for GzipCodec

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.2
    • Fix Version/s: 2.8.0, 2.7.3, 3.0.0-alpha1
    • Component/s: io
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Added New compression levels for GzipCodec that can be set in zlib.compress.level

      Description

      gzip supports compression levels 1-9. Compression level 4 seems to give best compression per CPU time in some of our tests. Right now ZlibCompressor that is used by GzipCodec only supports levels 1,9 and six (default).

      Adding all the compression levels that are supported by native ZlibCompressor
      can provide more options to tweak compression levels.

        Attachments

        1. HADOOP-12794.0001.patch
          1 kB
          Ravi Mutyala
        2. HADOOP-12794.0002.patch
          2 kB
          Ravi Mutyala
        3. HADOOP-12794.0003.patch
          3 kB
          Ravi Mutyala

          Activity

            People

            • Assignee:
              rmutyala Ravi Mutyala
              Reporter:
              rmutyala Ravi Mutyala
            • Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: