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

View File

@ -1034,8 +1034,6 @@ protected void startContainerInternal(
containerTokenIdentifier.getVersion(), request);
dispatcher.getEventHandler().handle(
new ApplicationContainerInitEvent(container));
this.context.getNMStateStore().storeContainer(containerId,
containerTokenIdentifier.getVersion(), request);
this.context.getContainerTokenSecretManager().startContainerSuccessful(
containerTokenIdentifier);