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

Hudson commented on HADOOP-9401:
--------------------------------

Integrated in Hadoop-Mapreduce-trunk #1390 (See 
[https://builds.apache.org/job/Hadoop-Mapreduce-trunk/1390/])
    HADOOP-9401. CodecPool: Add counters for number of (de)compressors leased 
out. (kkambatl via tucu) (Revision 1464219)

     Result = SUCCESS
tucu : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1464219
Files : 
* /hadoop/common/trunk/hadoop-common-project/hadoop-common/CHANGES.txt
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/compress/CodecPool.java
* 
/hadoop/common/trunk/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/io/compress/TestCodecPool.java

                
> CodecPool: Add counters for number of (de)compressors leased out
> ----------------------------------------------------------------
>
>                 Key: HADOOP-9401
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9401
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 2.0.3-alpha
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>             Fix For: 2.0.5-beta
>
>         Attachments: hadoop-9401.patch, hadoop-9401.patch, hadoop-9401.patch, 
> hadoop-9401.patch, hadoop-9401.patch
>
>
> CodecPool enables reusing compressors/decompressors created. However, the 
> onus is on the user to return the compressors/decompressors to the pool, and 
> can be easily missed.
> It would be quite handy to keep track of the total number of 
> compressors/decompressors created and helper methods to check outstanding 
> (not returned) compressors/decompressors. It immediately allows Hadoop and 
> downstream projects to write unit tests for the same.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to