public static URL getTaskAttemptURL(String historyServerRoot, String jobId, String taskId, String attemptId)
      throws MalformedURLException {
    return new URL(
        getMapreduceJobsURLString(historyServerRoot) + "/" + jobId + "/tasks/" + taskId + "/attempts/" + attemptId);
  }
This provide URLs for YARN APIs.
app/com/linkedin/drelephant/util/YarnURLUtils.java