[
https://issues.apache.org/jira/browse/YARN-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Varun Vasudev updated YARN-1788:
--------------------------------
Attachment: apache-yarn-1788.0.patch
The fix is to use the finalState instead of the getState() function when
dispatch the AppRemovedSchedulerEvent. The patch file has the fix in the
FinalTransition class in RMAppImpl and added tests.
> AppsCompleted/AppsKilled metric is incorrect when MR job is killed with yarn
> application -kill
> ----------------------------------------------------------------------------------------------
>
> Key: YARN-1788
> URL: https://issues.apache.org/jira/browse/YARN-1788
> Project: Hadoop YARN
> Issue Type: Bug
> Components: resourcemanager
> Affects Versions: 2.3.0
> Reporter: Tassapol Athiapinya
> Assignee: Varun Vasudev
> Attachments: apache-yarn-1788.0.patch
>
>
> Run MR sleep job. Kill the application in RUNNING state. Observe RM metrics.
> Expecting AppsCompleted = 0/AppsKilled = 1
> Actual is AppsCompleted = 1/AppsKilled = 0
--
This message was sent by Atlassian JIRA
(v6.2#6252)