[ https://issues.apache.org/jira/browse/YARN-2856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14642803#comment-14642803 ]
Sangjin Lee commented on YARN-2856: ----------------------------------- The patch applies to 2.6.0 cleanly. > Application recovery throw InvalidStateTransitonException: Invalid event: > ATTEMPT_KILLED at ACCEPTED > ---------------------------------------------------------------------------------------------------- > > Key: YARN-2856 > URL: https://issues.apache.org/jira/browse/YARN-2856 > Project: Hadoop YARN > Issue Type: Bug > Components: resourcemanager > Affects Versions: 2.6.0 > Reporter: Rohith Sharma K S > Assignee: Rohith Sharma K S > Priority: Critical > Labels: 2.6.1-candidate > Fix For: 2.7.0 > > Attachments: YARN-2856.1.patch, YARN-2856.patch > > > It is observed that recovering an application with its attempt KILLED final > state throw below exception. And application remain in accepted state forever. > {code} > 2014-11-12 02:34:10,602 | ERROR | AsyncDispatcher event handler | Can't > handle this event at current state | > org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl.handle(RMAppImpl.java:673) > org.apache.hadoop.yarn.state.InvalidStateTransitonException: Invalid event: > ATTEMPT_KILLED at ACCEPTED > at > org.apache.hadoop.yarn.state.StateMachineFactory.doTransition(StateMachineFactory.java:305) > at > org.apache.hadoop.yarn.state.StateMachineFactory.access$300(StateMachineFactory.java:46) > at > org.apache.hadoop.yarn.state.StateMachineFactory$InternalStateMachine.doTransition(StateMachineFactory.java:448) > at > org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl.handle(RMAppImpl.java:671) > at > org.apache.hadoop.yarn.server.resourcemanager.rmapp.RMAppImpl.handle(RMAppImpl.java:90) > at > org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:730) > at > org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationEventDispatcher.handle(ResourceManager.java:714) > at > org.apache.hadoop.yarn.event.AsyncDispatcher.dispatch(AsyncDispatcher.java:173) > at > org.apache.hadoop.yarn.event.AsyncDispatcher$1.run(AsyncDispatcher.java:106) > at java.lang.Thread.run(Thread.java:745) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)