YARN-5156. YARN_CONTAINER_FINISHED of YARN_CONTAINERs will always have running state (Vrushali C via sjlee)

(cherry picked from commit d0a62d8adf86f7cb2481940d212788cc5f327367)
This commit is contained in:
Sangjin Lee 2016-07-18 18:39:25 -07:00 committed by Varun Saxena
parent 4f6ba3187b
commit 51102019f5
1 changed files with 1 additions and 3 deletions

View File

@ -203,8 +203,6 @@ public class NMTimelinePublisher extends CompositeService {
containerStatus.getDiagnostics());
eventInfo.put(ContainerMetricsConstants.EXIT_STATUS_EVENT_INFO,
containerStatus.getExitStatus());
eventInfo.put(ContainerMetricsConstants.STATE_EVENT_INFO, containerStatus
.getState().toString());
TimelineEvent tEvent = new TimelineEvent();
tEvent.setId(ContainerMetricsConstants.FINISHED_EVENT_TYPE);
@ -402,4 +400,4 @@ public class NMTimelinePublisher extends CompositeService {
private TimelineClient getTimelineClient(ApplicationId appId) {
return appToClientMap.get(appId);
}
}
}