hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karthik Kambatla (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9401) CodecPool: Add counters for number of (de)compressors created
Date Sun, 31 Mar 2013 19:51:15 GMT

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

Karthik Kambatla commented on HADOOP-9401:
------------------------------------------

The patch now has only two methods for returning the count of leased compressors/decompressors.
While we can create a single info bean to return the properties, now that we have only 2 properties,
thought it should be okay to have just two methods.

Kicking off Jenkins to see if there are any issues.
                
> CodecPool: Add counters for number of (de)compressors created
> -------------------------------------------------------------
>
>                 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
>         Attachments: 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

Mime
View raw message