You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Akira AJISAKA (JIRA)" <ji...@apache.org> on 2013/09/07 02:27:52 UTC

[jira] [Updated] (HADOOP-9941) MetricsSystem Sink_Qsize always shows 0

     [ https://issues.apache.org/jira/browse/HADOOP-9941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akira AJISAKA updated HADOOP-9941:
----------------------------------

    Attachment: HADOOP-9941.0.patch

Attached a patch to increment and decrement the Metrics.
Since there are no test for MetricsSinkAdapter, it takes a little more time for me to attach a patch with test.
                
> MetricsSystem Sink_Qsize always shows 0
> ---------------------------------------
>
>                 Key: HADOOP-9941
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9941
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 3.0.0, 2.1.0-beta
>            Reporter: Akira AJISAKA
>            Priority: Minor
>              Labels: metrics
>             Fix For: 3.0.0, 2.3.0
>
>         Attachments: HADOOP-9941.0.patch
>
>
> In o.a.h.metrics2.impl.MetricsSinkAdapter.java, there is nothing to increment or decrement Sink_Qsize metrics.

--
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