public int getExitCode() {
    return exitCode;
  }
Indicates a disk failure in the host the resource is on.
Currently these are modelled after Yarn, could evolve as we add integrations with
many cluster managers.
samza-core/src/main/java/org/apache/samza/clustermanager/SamzaResourceStatus.java