@Override public void transition(RMAppImpl app, RMAppEvent event) { app.diagnostics.append(event.getDiagnosticMsg()); super.transition(app, event); RMAppImpl.auditLogKillEvent(event); }; }
@Override public void transition(RMAppImpl app, RMAppEvent event) { app.diagnostics.append(event.getDiagnosticMsg()); super.transition(app, event); RMAppImpl.auditLogKillEvent(event); }; }
@Override public void transition(RMAppImpl app, RMAppEvent event) { app.stateBeforeKilling = app.getState(); // Forward app kill diagnostics in the event to kill app attempt. // These diagnostics will be returned back in ATTEMPT_KILLED event sent by // RMAppAttemptImpl. app.handler.handle( new RMAppAttemptEvent(app.currentAttempt.getAppAttemptId(), RMAppAttemptEventType.KILL, event.getDiagnosticMsg())); RMAppImpl.auditLogKillEvent(event); } }
@Override public void transition(RMAppImpl app, RMAppEvent event) { app.stateBeforeKilling = app.getState(); // Forward app kill diagnostics in the event to kill app attempt. // These diagnostics will be returned back in ATTEMPT_KILLED event sent by // RMAppAttemptImpl. app.handler.handle( new RMAppAttemptEvent(app.currentAttempt.getAppAttemptId(), RMAppAttemptEventType.KILL, event.getDiagnosticMsg())); RMAppImpl.auditLogKillEvent(event); } }