@Override
  public JobProxy getJobProxy(JobsResourceConfig config) {
    try {
      return new SimpleYarnJobProxy(config);
    } catch (Exception e) {
      LOG.error("Exception during instantiation of SimpleYarnJobProxy: ", e);
      throw new SamzaException(e);
    }
  }
Factory to produce SimpleJobProxy instances.

See {@link AbstractJobProxy#fromFactory(JobsResourceConfig)}
samza-rest/src/main/java/org/apache/samza/rest/proxy/job/SimpleYarnJobProxyFactory.java