hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zheng Shao (JIRA)" <j...@apache.org>
Subject [jira] Created: (HADOOP-5879) GzipCodec should read compression level etc from configuration
Date Wed, 20 May 2009 22:04:45 GMT
GzipCodec should read compression level etc from configuration
--------------------------------------------------------------

                 Key: HADOOP-5879
                 URL: https://issues.apache.org/jira/browse/HADOOP-5879
             Project: Hadoop Core
          Issue Type: Improvement
          Components: io
            Reporter: Zheng Shao


GzipCodec currently uses the default compression level. We should allow overriding the default
value from Configuration.

{code}
  static final class GzipZlibCompressor extends ZlibCompressor {
    public GzipZlibCompressor() {
      super(ZlibCompressor.CompressionLevel.DEFAULT_COMPRESSION,
          ZlibCompressor.CompressionStrategy.DEFAULT_STRATEGY,
          ZlibCompressor.CompressionHeader.GZIP_FORMAT, 64*1024);
    }
  }
{code}


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message