code: public List<TaskDetails> fetchTaskDetails(String cluster, String jobId)
        throws IOException {
      String urlString = String.format("http://%s/api/v1/tasks/%s/%s",
          apiHostname, cluster, jobId);
      return retrieveTaskDetailsFromUrl(urlString);
    }
docs: Fetch details tasks of a given job.
  @param cluster
  @param jobId
  @return