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);
  }
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 ) ; }
Fetch details tasks of a given job.
@param cluster
@param jobId
@return