public static String getMapreduceJobsURLString(String historyServerRoot) {
    return "http://" + historyServerRoot + "/ws/v1/history/mapreduce/jobs";
  }
This provide URLs for YARN APIs.
app/com/linkedin/drelephant/util/YarnURLUtils.java