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:
parent
4f6ba3187b
commit
51102019f5
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue