@Override
  public Job getJobStatus(JobInstance jobInstance)
      throws IOException, InterruptedException {
    return getJobStatusProvider().getJobStatus(jobInstance);
  }
Convenience method to get the Samza job status from the name and id.

@param jobInstance           the instance of the job.
@return                      the current Samza status for the job.
@throws IOException          if there was a problem executing the command to get the status.
@throws InterruptedException if the thread was interrupted while waiting for the status result.
samza-rest/src/main/java/org/apache/samza/rest/proxy/job/AbstractJobProxy.java