[ 
https://issues.apache.org/jira/browse/HADOOP-12794?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15147951#comment-15147951
 ] 

Junping Du commented on HADOOP-12794:
-------------------------------------

bq. I am working on adding the Tests and checkstyle and will upload a new patch 
soon.
Sure. Thanks Ravi.

bq. The reason for leaving numbers (TWO,THREE.. etc) would be give flexibility 
of using all compression levels available in zlib in compressioncodec.
+1. Sounds reasonable to me.

> Support additional compression levels for GzipCodec
> ---------------------------------------------------
>
>                 Key: HADOOP-12794
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12794
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: io
>    Affects Versions: 2.7.2
>            Reporter: Ravi Mutyala
>            Assignee: Ravi Mutyala
>             Fix For: 2.7.3
>
>         Attachments: HADOOP-12794.0001.patch
>
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to