@VisibleForTesting
  static void exitProcess(int status) {
    System.exit(status);
  }
This method launches a Samza container in a managed cluster, e.g. Yarn.
samza-core/src/main/java/org/apache/samza/runtime/ContainerLaunchUtil.java