code: private void copyDependencyJarsToHdfs() throws IOException {
      if (!this.state.contains(ConfigurationKeys.JOB_JAR_FILES_KEY)) {
        return;
      }
      LocalFileSystem lfs = FileSystem.getLocal(this.conf);
      Path tmpJarFileDir = new Path(this.tmpOutputDir, "_gobblin_compaction_jars");
      this.state.setProp(COMPACTION_JARS, tmpJarFileDir.toString());
      this.fs.delete(tmpJarFileDir, true);
      for (String jarFile : this.state.getPropAsList(ConfigurationKeys.JOB_JAR_FILES_KEY)) {
        for (FileStatus status : lfs.globStatus(new Path(jarFile))) {
          Path tmpJarFile = new Path(this.fs.makeQualified(tmpJarFileDir), status.getPath().getName());
          this.fs.copyFromLocalFile(status.getPath(), tmpJarFile);
          LOG.info(String.format("%s will be added to classpath", tmpJarFile));
        }
      }
    }
docs: Copy dependency jars from local fs to HDFS.