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 "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/10/11 13:16:00 UTC

[jira] [Commented] (HADOOP-9946) NumAllSinks metrics shows lower value than NumActiveSinks

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

ASF GitHub Bot commented on HADOOP-9946:
----------------------------------------

ashutoshcipher opened a new pull request, #5002:
URL: https://github.com/apache/hadoop/pull/5002

   ### Description of PR
   
   NumAllSinks metrics shows lower value than NumActiveSinks
   
   JIRA - HADOOP-9946
   
   
   ### How was this patch tested?
   
   UT
   
   
   ### For code changes:
   
   - [X] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
   - [ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
   - [ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under [ASF 2.0](http://www.apache.org/legal/resolved.html#category-a)?
   - [ ] If applicable, have you updated the `LICENSE`, `LICENSE-binary`, `NOTICE-binary` files?
   
   




> 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
>          Components: metrics
>    Affects Versions: 2.1.0-beta
>            Reporter: Akira Ajisaka
>            Assignee: Ashutosh Gupta
>            Priority: Major
>              Labels: BB2015-05-TBR, metrics
>         Attachments: HADOOP-9946, HADOOP-9946.02.patch, 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 was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org