Program: 31924
Project: 31924
Buggy source:
private void prepareSEJobConf(SourceType source,Configuration conf) throws IOException {
  new GenericOptionsParser(conf,new String[]{"String_Node_Str",addRuntimeJars()});
  conf.setBoolean(CombineInputFormat.SHIFU_VS_SPLIT_COMBINABLE,true);
  conf.setBoolean(GuaguaMapReduceConstants.MAPRED_MAP_TASKS_SPECULATIVE_EXECUTION,true);
  conf.setBoolean(GuaguaMapReduceConstants.MAPRED_REDUCE_TASKS_SPECULATIVE_EXECUTION,true);
  conf.setBoolean(GuaguaMapReduceConstants.MAPREDUCE_MAP_SPECULATIVE,true);
  conf.setBoolean(GuaguaMapReduceConstants.MAPREDUCE_REDUCE_SPECULATIVE,true);
  conf.set(Constants.SHIFU_MODEL_CONFIG,ShifuFileUtils.getFileSystemBySourceType(source).makeQualified(new Path(super.getPathFinder().getModelConfigPath(source))).toString());
  conf.set(Constants.SHIFU_COLUMN_CONFIG,ShifuFileUtils.getFileSystemBySourceType(source).makeQualified(new Path(super.getPathFinder().getColumnConfigPath(source))).toString());
  conf.set(NNConstants.MAPRED_JOB_QUEUE_NAME,Environment.getProperty(Environment.HADOOP_JOB_QUEUE,"String_Node_Str"));
  conf.set(Constants.SHIFU_MODELSET_SOURCE_TYPE,source.toString());
  conf.setInt(GuaguaMapReduceConstants.MAPREDUCE_JOB_MAX_SPLIT_LOCATIONS,100);
  conf.setBoolean(CombineInputFormat.SHIFU_VS_SPLIT_COMBINABLE,false);
  conf.set("String_Node_Str",Environment.getProperty("String_Node_Str","String_Node_Str"));
  Float filterOutRatio=this.modelConfig.getVarSelect().getFilterOutRatio();
  if (filterOutRatio == null) {
    log.warn("String_Node_Str");
    filterOutRatio=0.05f;
  }
  if (filterOutRatio.compareTo(Float.valueOf(1.0f)) >= 0) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  conf.setFloat(Constants.SHIFU_VARSELECT_FILTEROUT_RATIO,filterOutRatio);
  conf.setInt(Constants.SHIFU_VARSELECT_FILTER_NUM,this.modelConfig.getVarSelectFilterNum());
  String hdpVersion=HDPUtils.getHdpVersionForHDP224();
  if (StringUtils.isNotBlank(hdpVersion)) {
    conf.set("String_Node_Str",hdpVersion);
    HDPUtils.addFileToClassPath(HDPUtils.findContainingFile("String_Node_Str"),conf);
    HDPUtils.addFileToClassPath(HDPUtils.findContainingFile("String_Node_Str"),conf);
    HDPUtils.addFileToClassPath(HDPUtils.findContainingFile("String_Node_Str"),conf);
    HDPUtils.addFileToClassPath(HDPUtils.findContainingFile("String_Node_Str"),conf);
  }
  for (  Map.Entry<Object,Object> entry : Environment.getProperties().entrySet()) {
    if (CommonUtils.isHadoopConfigurationInjected(entry.getKey().toString())) {
      conf.set(entry.getKey().toString(),entry.getValue().toString());
    }
  }
}

Fixed version (ground truth):
private void prepareSEJobConf(SourceType source,Configuration conf) throws IOException {
  new GenericOptionsParser(conf,new String[]{"String_Node_Str",addRuntimeJars()});
  conf.setBoolean(GuaguaMapReduceConstants.MAPRED_MAP_TASKS_SPECULATIVE_EXECUTION,true);
  conf.setBoolean(GuaguaMapReduceConstants.MAPRED_REDUCE_TASKS_SPECULATIVE_EXECUTION,true);
  conf.setBoolean(GuaguaMapReduceConstants.MAPREDUCE_MAP_SPECULATIVE,true);
  conf.setBoolean(GuaguaMapReduceConstants.MAPREDUCE_REDUCE_SPECULATIVE,true);
  conf.set(Constants.SHIFU_MODEL_CONFIG,ShifuFileUtils.getFileSystemBySourceType(source).makeQualified(new Path(super.getPathFinder().getModelConfigPath(source))).toString());
  conf.set(Constants.SHIFU_COLUMN_CONFIG,ShifuFileUtils.getFileSystemBySourceType(source).makeQualified(new Path(super.getPathFinder().getColumnConfigPath(source))).toString());
  conf.set(NNConstants.MAPRED_JOB_QUEUE_NAME,Environment.getProperty(Environment.HADOOP_JOB_QUEUE,"String_Node_Str"));
  conf.set(Constants.SHIFU_MODELSET_SOURCE_TYPE,source.toString());
  conf.setInt(GuaguaMapReduceConstants.MAPREDUCE_JOB_MAX_SPLIT_LOCATIONS,100);
  conf.setBoolean(CombineInputFormat.SHIFU_VS_SPLIT_COMBINABLE,false);
  conf.set("String_Node_Str",Environment.getProperty("String_Node_Str","String_Node_Str"));
  conf.set(Constants.SHIFU_VARSELECT_FILTEROUT_TYPE,modelConfig.getVarSelectFilterBy());
  Float filterOutRatio=this.modelConfig.getVarSelect().getFilterOutRatio();
  if (filterOutRatio == null) {
    log.warn("String_Node_Str");
    filterOutRatio=0.05f;
  }
  if (filterOutRatio.compareTo(Float.valueOf(1.0f)) >= 0) {
    throw new IllegalArgumentException("String_Node_Str");
  }
  conf.setFloat(Constants.SHIFU_VARSELECT_FILTEROUT_RATIO,filterOutRatio);
  conf.setInt(Constants.SHIFU_VARSELECT_FILTER_NUM,this.modelConfig.getVarSelectFilterNum());
  String hdpVersion=HDPUtils.getHdpVersionForHDP224();
  if (StringUtils.isNotBlank(hdpVersion)) {
    conf.set("String_Node_Str",hdpVersion);
    HDPUtils.addFileToClassPath(HDPUtils.findContainingFile("String_Node_Str"),conf);
    HDPUtils.addFileToClassPath(HDPUtils.findContainingFile("String_Node_Str"),conf);
    HDPUtils.addFileToClassPath(HDPUtils.findContainingFile("String_Node_Str"),conf);
    HDPUtils.addFileToClassPath(HDPUtils.findContainingFile("String_Node_Str"),conf);
  }
  for (  Map.Entry<Object,Object> entry : Environment.getProperties().entrySet()) {
    if (CommonUtils.isHadoopConfigurationInjected(entry.getKey().toString())) {
      conf.set(entry.getKey().toString(),entry.getValue().toString());
    }
  }
}