code: public static URL[] getLibJars(Configuration conf) throws IOException {
      String jars = conf.get("tmpjars");
      if(jars==null) {
        return null;
      }
      String[] files = jars.split(",");
      URL[] cp = new URL[files.length];
      for (int i=0;i<cp.length;i++) {
        Path tmp = new Path(files[i]);
        cp[i] = FileSystem.getLocal(conf).pathToFile(tmp).toURI().toURL();
      }
      return cp;
    }
docs: If libjars are set in the conf, parse the libjars.
  @param conf
  @return libjar urls
  @throws IOException