code: private static JobConf createJobConf(Configuration conf) {
      JobConf jobconf = new JobConf(conf, DistRaid.class);
      jobName = NAME + " " + dateForm.format(new Date(RaidNode.now()));
      jobconf.setUser(RaidNode.JOBUSER);
      jobconf.setJobName(jobName);
      jobconf.setMapSpeculativeExecution(false);
      RaidUtils.parseAndSetOptions(jobconf, SCHEDULER_OPTION_LABEL);
  
      jobconf.setJarByClass(DistRaid.class);
      jobconf.setInputFormat(DistRaidInputFormat.class);
      jobconf.setOutputKeyClass(Text.class);
      jobconf.setOutputValueClass(Text.class);
  
      jobconf.setMapperClass(DistRaidMapper.class);
      jobconf.setNumReduceTasks(0);
      return jobconf;
    }
docs: create new job conf based on configuration passed.
  
  @param conf
  @return