You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Abhishek Shivanna (JIRA)" <ji...@apache.org> on 2017/02/22 02:30:44 UTC

[jira] [Created] (YARN-6212) NodeManager metrics returning wrong negative values

Abhishek Shivanna created YARN-6212:
---------------------------------------

             Summary: 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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org