Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.7.3
-
None
-
None
Description
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
/jmx?qry=Hadoop:service=NodeManager,name=NodeManagerMetrics
{ "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 } ] }
Is there any circumstance under which the value for AllocatedGB, AllocatedContainers and AllocatedVCores go below 0?