if (container != null) {
applicationMaster.nmClientAsync.getContainerStatusAsync(containerId, container.getNodeId());
}
SettableFuture<ContainerLaunchResponse> settableFuture =
applicationMaster.containerLaunchResponseMap.remove(containerId);
ContainerLaunchResponse value = new ContainerLaunchResponse();
settableFuture.set(value);
}