YARN-5856. Unnecessary duplicate start container request sent to NM State store. Contributed by Varun Saxena.
This commit is contained in:
parent
bcc15c6290
commit
de3a5f8d08
|
@ -1034,8 +1034,6 @@ public class ContainerManagerImpl extends CompositeService implements
|
||||||
containerTokenIdentifier.getVersion(), request);
|
containerTokenIdentifier.getVersion(), request);
|
||||||
dispatcher.getEventHandler().handle(
|
dispatcher.getEventHandler().handle(
|
||||||
new ApplicationContainerInitEvent(container));
|
new ApplicationContainerInitEvent(container));
|
||||||
this.context.getNMStateStore().storeContainer(containerId,
|
|
||||||
containerTokenIdentifier.getVersion(), request);
|
|
||||||
|
|
||||||
this.context.getContainerTokenSecretManager().startContainerSuccessful(
|
this.context.getContainerTokenSecretManager().startContainerSuccessful(
|
||||||
containerTokenIdentifier);
|
containerTokenIdentifier);
|
||||||
|
|
Loading…
Reference in New Issue