code: public static RunningJob jobSubmit(JobConf conf) throws IOException {
      setupPipesJob(conf);
      return new JobClient(conf).submitJob(conf);
    }
docs: Submit a job to the Map-Reduce framework.
  This returns a handle to the {@link RunningJob} which can be used to track
  the running-job.
  
  @param conf the job configuration.
  @return a handle to the {@link RunningJob} which can be used to track the
  running-job.
  @throws IOException