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