YARN-5856. Unnecessary duplicate start container request sent to NM State store. Contributed by Varun Saxena.

This commit is contained in:
Naganarasimha 2016-11-10 05:39:20 +05:30
parent bcc15c6290
commit de3a5f8d08
1 changed files with 0 additions and 2 deletions

View File

@ -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);