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

Jian He commented on YARN-1416:
-------------------------------

Thanks for reporting this.
The problem is that duplicate events are sent in the unit tests. Thankfully, no 
issue with core code :)

upload a patch:
- remove duplicate events.
- some side changes:
-- Rename RMAppSavingTransition to RMAppNewlySavingTransition
-- Ignore APP_NEW_SAVED event at Final_Saving state, this event is ignorable 
because app is possible to move from New_Saving to Final_Saving and 
APP_NEW_SAVED will come.
-- Remove the test scenarios for testing ignoring APP_NEW_SAVED at 
Failed/Killed state, as that should not happen.

> InvalidStateTransitions getting reported in multiple test cases even though 
> they pass
> -------------------------------------------------------------------------------------
>
>                 Key: YARN-1416
>                 URL: https://issues.apache.org/jira/browse/YARN-1416
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Omkar Vinit Joshi
>            Assignee: Jian He
>
> It might be worth checking why they are reporting this.
> Testcase : TestRMAppTransitions, TestRM
> there are large number of such errors.
> can't handle RMAppEventType.APP_UPDATE_SAVED at RMAppState.FAILED



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to