private void logFilesUsed(String what, String fqfn, URI srcUri, RefCountedResource rcr) {
    if (!LOG.isInfoEnabled()) return;
    String desc = (rcr.resources.size() == 1
        ? rcr.resources.get(0).toString() : (rcr.resources.size() + " files"));
    LOG.info(what + " files [" + desc + "] for [" + srcUri + "] resource for " + fqfn);
  }
This class localizes and manages jars for the functions allowed inside LLAP.
llap-server/src/java/org/apache/hadoop/hive/llap/daemon/impl/FunctionLocalizer.java