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

Abhishek Shivanna resolved YARN-6212.
-------------------------------------
    Resolution: Duplicate

[~miklos.szeg...@cloudera.com] Thank you for your quick response. Yes the 
cluster uses the fair scheduler.
It seems like that might be the issue! I will mark this as duplicate.

> NodeManager metrics returning wrong negative values
> ---------------------------------------------------
>
>                 Key: YARN-6212
>                 URL: https://issues.apache.org/jira/browse/YARN-6212
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: metrics
>    Affects Versions: 2.7.3
>            Reporter: Abhishek Shivanna
>
> It looks like the metrics returned by the NodeManager have negative values 
> for metrics that never should be negative. Here is an output form NM endpoint 
> {noformat}
> /jmx?qry=Hadoop:service=NodeManager,name=NodeManagerMetrics
> {noformat}
> {noformat}
> {
>   "beans" : [ {
>     "name" : "Hadoop:service=NodeManager,name=NodeManagerMetrics",
>     "modelerType" : "NodeManagerMetrics",
>     "tag.Context" : "yarn",
>     "tag.Hostname" : "<HOST>",
>     "ContainersLaunched" : 707,
>     "ContainersCompleted" : 9,
>     "ContainersFailed" : 124,
>     "ContainersKilled" : 579,
>     "ContainersIniting" : 0,
>     "ContainersRunning" : 19,
>     "AllocatedGB" : -26,
>     "AllocatedContainers" : -5,
>     "AvailableGB" : 252,
>     "AllocatedVCores" : -5,
>     "AvailableVCores" : 101,
>     "ContainerLaunchDurationNumOps" : 718,
>     "ContainerLaunchDurationAvgTime" : 18.0
>   } ]
> }
> {noformat}
> Is there any circumstance under which the value for AllocatedGB, 
> AllocatedContainers and AllocatedVCores go below 0? 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to