void handleContainerStopFail(String processorId, String containerId, String containerHost,
      ContainerAllocator containerAllocator) {
    if (processorId != null && hasActiveContainerPlacementAction(processorId)) {
      // Assuming resource acquired on destination host will be relinquished by the containerAllocator,
      // We mark the placement action as failed, and return.
      ContainerPlacementMetadata metaData = getPlacementActionMetadata(processorId).get();
      metaData.setContainerStatus(ContainerPlacementMetadata.ContainerStatus.STOP_FAILED);
    } else if (processorId != null && standbyContainerManager.isPresent()) {
      standbyContainerManager.get().handleContainerStopFail(processorId, containerId, containerAllocator);
    } else {
      LOG.warn("Did not find a running Processor ID for Container ID: {} on host: {}. "
          + "Ignoring invalid/redundant notification.", containerId, containerHost);
    }
  }
Handle the container stop failure for active containers and standby (if enabled).
@param processorId logical id of the container eg 1,2,3
@param containerId last known id of the container deployed
@param containerHost host on which container is requested to be deployed
@param containerAllocator allocator for requesting resources
TODO: SAMZA-2512 Add integ test for handleContainerStopFail
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerManager.java