hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhishek Shivanna (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (YARN-6212) NodeManager metrics returning wrong negative values
Date Wed, 22 Feb 2017 18:02:44 GMT

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


Mime
View raw message