public String run() throws Exception {
        runTempletonControllerJob(controllerJob, args);
        return controllerJob.getSubmittedId();
      }
Enqueue the TempletonControllerJob directly calling doAs.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/LauncherDelegator.java