You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "lujie (JIRA)" <ji...@apache.org> on 2018/01/09 03:04:03 UTC
[jira] [Comment Edited] (YARN-6948) Invalid event: ATTEMPT_ADDED at
FINAL_SAVING
[ https://issues.apache.org/jira/browse/YARN-6948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16317592#comment-16317592 ]
lujie edited comment on YARN-6948 at 1/9/18 3:03 AM:
-----------------------------------------------------
After discuss [YARN-7663|https://issues.apache.org/jira/browse/YARN-7663] with [#Jason Lowe], I think this bug can have same unit test strategy. The only difference is that I override the onInvalidTranstion in a independent class RMAppAttemptImplForTest.
And there exists two checksyte errors in my locally running, but i have no idea to fix them, any suggestion?
was (Author: xiaoheipangzi):
After discuss [YARN-7663|https://issues.apache.org/jira/browse/YARN-7663] with [#Jason Lowe], I think this bug can have same unit test strategy. The only difference is that I override the onInvalidTranstion in a independent class RMAppAttemptImplForTest.
And there exists two checksyte errors in my locally running, but i have no idea to fix them, any suggesttion
> Invalid event: ATTEMPT_ADDED at FINAL_SAVING
> --------------------------------------------
>
> Key: YARN-6948
> URL: https://issues.apache.org/jira/browse/YARN-6948
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn
> Affects Versions: 2.8.0, 3.0.0-alpha4
> Reporter: lujie
> Attachments: YARN-6948_1.patch, yarn-6948.png, yarn-6948.txt
>
>
> When I send kill command to a running job, I check the logs and find the Exception:
> {code:java}
> 2017-08-03 01:35:20,485 ERROR org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl: Can't handle this event at current state
> org.apache.hadoop.yarn.state.InvalidStateTransitonException: Invalid event: ATTEMPT_ADDED at FINAL_SAVING
> 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.attempt.RMAppAttemptImpl.handle(RMAppAttemptImpl.java:757)
> at org.apache.hadoop.yarn.server.resourcemanager.rmapp.attempt.RMAppAttemptImpl.handle(RMAppAttemptImpl.java:106)
> at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationAttemptEventDispatcher.handle(ResourceManager.java:834)
> at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager$ApplicationAttemptEventDispatcher.handle(ResourceManager.java:815)
> 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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org