this.containerToken);
// kill the remote container if already launched
List<ContainerId> willBeStopedIds = new ArrayList<ContainerId>();
willBeStopedIds.add(this.containerID);
StopContainersRequest stopRequests = Records.newRecord(StopContainersRequest.class);
stopRequests.setContainerIds(willBeStopedIds);
proxy.stopContainers(stopRequests);
// If stopContainer returns without an error, assuming the stop made
// it over to the NodeManager.
// context.getEventHandler().handle(
// new AMContainerEvent(containerID, AMContainerEventType.C_NM_STOP_SENT));