[ 
https://issues.apache.org/jira/browse/YARN-1788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vinod Kumar Vavilapalli updated YARN-1788:
------------------------------------------

            Priority: Critical  (was: Major)
    Target Version/s: 2.4.0

Tx for the patch Varun! Marking it for 2.4 as it seems like a bad bug.

The patch looks fine overall. But the test isn't useful much. 
TestRMAppTransitions and similar tests are basic unit-tests that don't uncover 
a lot of bugs that happen during integration. You should imitate 
TestRMRestart.testQueueMetricsOnRMRestart() without the restart part- that 
should be a fine balance between a unit test, integration test and a real life 
setup of starting clusters.

> 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
>            Priority: Critical
>         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)

Reply via email to