@Path("{jobId}/taskattempts")
  public TaskAttemptService getTaskAttemptHandler(
      @PathParam("jobId") String jobId) {
    return new TaskAttemptService(clusterName, workflowId, jobId);
  }
Gets the task attempts sub-resource.
ambari-server/src/main/java/org/apache/ambari/server/api/services/JobService.java