private ContainerManager buildContainerManager(ContainerPlacementMetadataStore containerPlacementMetadataStore,
      SamzaApplicationState samzaApplicationState, ClusterResourceManager clusterResourceManager, boolean hostAffinityEnabled,
      boolean standByEnabled, LocalityManager localityManager, FaultDomainManager faultDomainManager) {
    return new ContainerManager(containerPlacementMetadataStore, samzaApplicationState, clusterResourceManager, hostAffinityEnabled, standByEnabled, localityManager, faultDomainManager, config);
  }
Test AM requests a new container when a task fails
Error codes with same behavior - Disk failure, preemption and aborted
samza-core/src/test/java/org/apache/samza/clustermanager/TestContainerProcessManager.java