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());
|
containerStatus.getDiagnostics());
|
||||||
eventInfo.put(ContainerMetricsConstants.EXIT_STATUS_EVENT_INFO,
|
eventInfo.put(ContainerMetricsConstants.EXIT_STATUS_EVENT_INFO,
|
||||||
containerStatus.getExitStatus());
|
containerStatus.getExitStatus());
|
||||||
eventInfo.put(ContainerMetricsConstants.STATE_EVENT_INFO, containerStatus
|
|
||||||
.getState().toString());
|
|
||||||
|
|
||||||
TimelineEvent tEvent = new TimelineEvent();
|
TimelineEvent tEvent = new TimelineEvent();
|
||||||
tEvent.setId(ContainerMetricsConstants.FINISHED_EVENT_TYPE);
|
tEvent.setId(ContainerMetricsConstants.FINISHED_EVENT_TYPE);
|
||||||
|
|
Loading…
Reference in New Issue