YARN-6987. Log app attempt during InvalidStateTransition. Contributed by Jonathan Eagles
This commit is contained in:
parent
6b09c32705
commit
3325ef653d
@ -888,7 +888,8 @@ public void handle(RMAppEvent event) {
|
||||
/* keep the master in sync with the state machine */
|
||||
this.stateMachine.doTransition(event.getType(), event);
|
||||
} catch (InvalidStateTransitionException e) {
|
||||
LOG.error("Can't handle this event at current state", e);
|
||||
LOG.error("App: " + appID
|
||||
+ " can't handle this event at current state", e);
|
||||
/* TODO fail the application on the failed transition */
|
||||
}
|
||||
|
||||
|
@ -911,7 +911,8 @@ public void handle(RMAppAttemptEvent event) {
|
||||
/* keep the master in sync with the state machine */
|
||||
this.stateMachine.doTransition(event.getType(), event);
|
||||
} catch (InvalidStateTransitionException e) {
|
||||
LOG.error("Can't handle this event at current state", e);
|
||||
LOG.error("App attempt: " + appAttemptID
|
||||
+ " can't handle this event at current state", e);
|
||||
/* TODO fail the application on the failed transition */
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user