public static URL getMapreduceJobsURL(String historyServerRoot, long startTime, long endTime)
      throws MalformedURLException {
    return new URL(String.format("%s?finishedTimeBegin=%s&finishedTimeEnd=%s&state=SUCCEEDED",
        getMapreduceJobsURLString(historyServerRoot), startTime, endTime));
  }
This provide URLs for YARN APIs.
app/com/linkedin/drelephant/util/YarnURLUtils.java