public static void doCallback(String jobid, String url) throws IOException {
    if (url.contains("$jobId"))
      url = url.replace("$jobId", jobid);
    TempletonUtils.fetchUrl(new URL(url));
  }
Call the callback url with the jobid to let them know it's
finished.  If the url has the string $jobId in it, it will be
replaced with the completed jobid.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/CompleteDelegator.java