}
private void logStopped(int exitStatus) {
final Clock clock = appContext.getClock();
final HistoryEventHandler historyHandler = appContext.getHistoryHandler();
ContainerStoppedEvent lEvt = new ContainerStoppedEvent(containerId,
clock.getTime(),
exitStatus,
appContext.getApplicationAttemptId());
historyHandler.handle(
new DAGHistoryEvent(appContext.getCurrentDAGID(),lEvt));