[
https://issues.apache.org/jira/browse/HADOOP-5879?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
He Yongqiang updated HADOOP-5879:
---------------------------------
Attachment: hadoop-5879-7-13-3.patch
hadoop-5879-7-13-3.patch changed the conf string io.compress.* to
zlib.compress.*
Supported conf strings are:
zlib.compress.level values can be: NO_COMPRESSION / BEST_SPEED /
BEST_COMPRESSION / DEFAULT_COMPRESSION
zlib.compress.strategy values can be: FILTERED / HUFFMAN_ONLY / RLE /
FIXED / DEFAULT_STRATEGY
zlib.compress.buffer.size values can be any positive integer
> GzipCodec should read compression level etc from configuration
> --------------------------------------------------------------
>
> Key: HADOOP-5879
> URL: https://issues.apache.org/jira/browse/HADOOP-5879
> Project: Hadoop Common
> Issue Type: Improvement
> Components: io
> Reporter: Zheng Shao
> Attachments: hadoop-5879-5-21.patch, hadoop-5879-7-13-2.patch,
> hadoop-5879-7-13-3.patch
>
>
> 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.