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

Akira AJISAKA updated HADOOP-9946:
----------------------------------

    Attachment: HADOOP-9946

Attached a patch to call allSinks.put(String, MetricsSink) when 
sinks.put(String, MetricsSinkAdapter) is called.
                
> NumAllSinks metrics shows lower value than NumActiveSinks
> ---------------------------------------------------------
>
>                 Key: HADOOP-9946
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9946
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 2.1.0-beta
>            Reporter: Akira AJISAKA
>              Labels: metrics
>         Attachments: HADOOP-9946, HADOOP-9946.patch
>
>
> In my hadoop cluster (trunk), output metrics file is as follows:
> {code}
> $ less /tmp/nodemanager-metrics.out
> 1377894554661 metricssystem.MetricsSystem: Context=metricssystem, 
> Hostname=hadoop, NumActiveSources=8, NumAllSources=8, NumActiveSinks=1, 
> NumAllSinks=0, Sink_fileNumOps=0, ...
> {code}
> NumAllSinks should be equal to or greater than NumActiveSinks.

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