code: public static Path[] getInputPaths(JobConf conf) {
      String dirs = conf.get("mapred.input.dir", "");
      String [] list = StringUtils.split(dirs);
      Path[] result = new Path[list.length];
      for (int i = 0; i < list.length; i++) {
        result[i] = new Path(StringUtils.unEscapeString(list[i]));
      }
      return result;
    }
docs: Get the list of input {@link Path}s for the map-reduce job.
  
  @param conf The configuration of the job
  @return the list of input {@link Path}s for the map-reduce job.