public boolean isShutdownSuccessful() {
    return state.status == SamzaApplicationState.SamzaAppStatus.SUCCEEDED;
  }
A map that keeps track of how many times each processor failed. The key is the processor ID, and the
value is the {@link ProcessorFailure} object that has a count of failures.
samza-core/src/main/java/org/apache/samza/clustermanager/ContainerProcessManager.java