@Override
  public Void call() throws Exception {
    Class<?>[] dependencies = new Class<?>[] {
        LlapDaemonProtocolProtos.class, // llap-common
        LlapTezUtils.class, // llap-tez
        LlapInputFormat.class, // llap-server
        HiveInputFormat.class, // hive-exec
        SslContextFactory.class, // hive-common (https deps)
        Rule.class, // Jetty rewrite class
        RegistryUtils.ServiceRecordMarshal.class, // ZK registry
        // log4j2
        com.lmax.disruptor.RingBuffer.class, // disruptor
        org.apache.logging.log4j.Logger.class, // log4j-api
        org.apache.logging.log4j.core.Appender.class, // log4j-core
        org.apache.logging.slf4j.Log4jLogger.class, // log4j-slf4j
        // log4j-1.2-API needed for NDC
        org.apache.log4j.config.Log4j1ConfigurationFactory.class,
        io.netty.util.NetUtil.class, // netty4
        io.netty.handler.codec.http.HttpObjectAggregator.class,
        io.netty.handler.codec.http.HttpObjectAggregator.class, // netty-all
        com.google.flatbuffers.Table.class, //flatbuffers
        com.carrotsearch.hppc.ByteArrayDeque.class, //hppc
        io.jsonwebtoken.security.Keys.class, //jjwt-api
        io.jsonwebtoken.impl.DefaultJws.class, //jjwt-impl
        io.jsonwebtoken.io.JacksonSerializer.class, //jjwt-jackson
    };

    for (Class<?> c : dependencies) {
      Path jarPath = new Path(Utilities.jarFinderGetJar(c));
      rawFs.copyFromLocalFile(jarPath, libDir);
      LOG.debug("Copying " + jarPath + " to " + libDir);
    }
    return null;
  }
Copy local jars for the tarball.
llap-server/src/java/org/apache/hadoop/hive/llap/cli/service/AsyncTaskCopyLocalJars.java