private void handleContainerStop(String processorId, String containerId, String preferredHost, int exitStatus, Duration preferredHostRetryDelay) {
    containerManager.handleContainerStop(processorId, containerId, preferredHost, exitStatus, preferredHostRetryDelay, containerAllocator);
  }
Request {@link ContainerManager#handleContainerStop} to determine next step of actions for the stopped container
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerProcessManager.java