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

Sandy Ryza commented on YARN-1697:
----------------------------------

I took a look at the state transitions and I think I know what's going on.

Running containers gets incremented in LaunchTransition and decremented in 
ContainerDoneTransition, if the state it's transitioning from is 
EXITED_WITH_FAILURE or EXITED_WITH_SUCCESS.  

If a container goes directly from LOCALIZING to EXITED_WITH_FAILURE, it will 
never go through the LaunchTransition, so the running containers will never be 
incremented.  But it will still be decremented.

> NodeManager reports negative running containers
> -----------------------------------------------
>
>                 Key: YARN-1697
>                 URL: https://issues.apache.org/jira/browse/YARN-1697
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: nodemanager
>    Affects Versions: 2.3.0
>            Reporter: Sandy Ryza
>            Assignee: Sandy Ryza
>
> We're seeing the NodeManager report a negative number of running containers.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to