Program: 32105
Project: 32105
Buggy source:
private Job createSEMapReduceJob(SourceType source,Configuration conf,String varSelectMSEOutputPath) throws IOException {
  @SuppressWarnings("String_Node_Str") Job job=new Job(conf,"String_Node_Str" + this.modelConfig.getModelSetName());
  job.setJarByClass(getClass());
  boolean isSEVarSelMulti=Boolean.TRUE.toString().equalsIgnoreCase(Environment.getProperty(Constants.SHIFU_VARSEL_SE_MULTI,Constants.SHIFU_DEFAULT_VARSEL_SE_MULTI));
  if (isSEVarSelMulti) {
    job.setMapperClass(MultithreadedMapper.class);
    MultithreadedMapper.setMapperClass(job,VarSelectMapper.class);
    int threads;
    try {
      threads=Integer.parseInt(Environment.getProperty(Constants.SHIFU_VARSEL_SE_MULTI_THREAD,Constants.SHIFU_DEFAULT_VARSEL_SE_MULTI_THREAD + "String_Node_Str"));
    }
 catch (    Exception e) {
      Log.warn("String_Node_Str",Constants.SHIFU_DEFAULT_VARSEL_SE_MULTI_THREAD);
      threads=Constants.SHIFU_DEFAULT_VARSEL_SE_MULTI_THREAD;
    }
    MultithreadedMapper.setNumberOfThreads(job,threads);
  }
 else {
    job.setMapperClass(VarSelectMapper.class);
  }
  job.setMapOutputKeyClass(LongWritable.class);
  job.setMapOutputValueClass(ColumnInfo.class);
  job.setInputFormatClass(TextInputFormat.class);
  FileInputFormat.setInputPaths(job,ShifuFileUtils.getFileSystemBySourceType(source).makeQualified(new Path(super.getPathFinder().getNormalizedDataPath())));
  job.setReducerClass(VarSelectReducer.class);
  job.setNumReduceTasks(1);
  job.setOutputKeyClass(Text.class);
  job.setOutputValueClass(Text.class);
  job.setOutputFormatClass(TextOutputFormat.class);
  FileOutputFormat.setOutputPath(job,new Path(varSelectMSEOutputPath));
  MultipleOutputs.addNamedOutput(job,Constants.SHIFU_VARSELECT_SE_OUTPUT_NAME,TextOutputFormat.class,Text.class,Text.class);
  return job;
}

Fixed version (ground truth):
private Job createSEMapReduceJob(SourceType source,Configuration conf,String varSelectMSEOutputPath) throws IOException {
  @SuppressWarnings("String_Node_Str") Job job=new Job(conf,"String_Node_Str" + this.modelConfig.getModelSetName());
  job.setJarByClass(getClass());
  boolean isSEVarSelMulti=Boolean.TRUE.toString().equalsIgnoreCase(Environment.getProperty(Constants.SHIFU_VARSEL_SE_MULTI,Constants.SHIFU_DEFAULT_VARSEL_SE_MULTI));
  if (isSEVarSelMulti) {
    job.setMapperClass(MultithreadedMapper.class);
    MultithreadedMapper.setMapperClass(job,VarSelectMapper.class);
    int threads;
    try {
      threads=Integer.parseInt(Environment.getProperty(Constants.SHIFU_VARSEL_SE_MULTI_THREAD,Constants.SHIFU_DEFAULT_VARSEL_SE_MULTI_THREAD + "String_Node_Str"));
    }
 catch (    Exception e) {
      log.warn("String_Node_Str",Constants.SHIFU_DEFAULT_VARSEL_SE_MULTI_THREAD);
      threads=Constants.SHIFU_DEFAULT_VARSEL_SE_MULTI_THREAD;
    }
    MultithreadedMapper.setNumberOfThreads(job,threads);
  }
 else {
    job.setMapperClass(VarSelectMapper.class);
  }
  job.setMapOutputKeyClass(LongWritable.class);
  job.setMapOutputValueClass(ColumnInfo.class);
  job.setInputFormatClass(TextInputFormat.class);
  FileInputFormat.setInputPaths(job,ShifuFileUtils.getFileSystemBySourceType(source).makeQualified(new Path(super.getPathFinder().getNormalizedDataPath())));
  job.setReducerClass(VarSelectReducer.class);
  job.setNumReduceTasks(1);
  job.setOutputKeyClass(Text.class);
  job.setOutputValueClass(Text.class);
  job.setOutputFormatClass(TextOutputFormat.class);
  FileOutputFormat.setOutputPath(job,new Path(varSelectMSEOutputPath));
  MultipleOutputs.addNamedOutput(job,Constants.SHIFU_VARSELECT_SE_OUTPUT_NAME,TextOutputFormat.class,Text.class,Text.class);
  return job;
}