protected TempletonControllerJob getTempletonController() {
    return new TempletonControllerJob(secureMeatastoreAccess, appConf);
  }
Enqueue the TempletonControllerJob directly calling doAs.
hcatalog/webhcat/svr/src/main/java/org/apache/hive/hcatalog/templeton/LauncherDelegator.java