Program: 31985
Project: 31985
Buggy source:
@Override public List<ColumnConfig> process() throws IOException {
  LOG.info("String_Node_Str");
  long start=System.currentTimeMillis();
  try {
    LOG.info("String_Node_Str");
    JSONUtils.writeValue(new File(pathFinder.getModelConfigPath(SourceType.LOCAL)),modelConfig);
    JSONUtils.writeValue(new File(pathFinder.getColumnConfigPath(SourceType.LOCAL)),columnConfigList);
    if (SourceType.HDFS.equals(modelConfig.getDataSet().getSource())) {
      CommonUtils.copyConfFromLocalToHDFS(modelConfig);
    }
    SourceType sourceType=modelConfig.getDataSet().getSource();
    ShifuFileUtils.deleteFile(pathFinder.getNormalizedDataPath(),sourceType);
    ShifuFileUtils.deleteFile(pathFinder.getNormalizedValidationDataPath(),sourceType);
    ShifuFileUtils.deleteFile(pathFinder.getSelectedRawDataPath(),sourceType);
    Map<String,String> paramsMap=new HashMap<String,String>();
    paramsMap.put("String_Node_Str",modelConfig.getNormalizeSampleRate().toString());
    paramsMap.put("String_Node_Str",((Boolean)modelConfig.isNormalizeSampleNegOnly()).toString());
    paramsMap.put("String_Node_Str",CommonUtils.escapePigString(modelConfig.getDataSetDelimiter()));
    try {
      String normPigPath=null;
      if (modelConfig.getNormalize().getIsParquet()) {
        if (modelConfig.getBasic().getPostTrainOn()) {
          normPigPath=pathFinder.getAbsolutePath("String_Node_Str");
        }
 else {
          LOG.info("String_Node_Str");
          normPigPath=pathFinder.getAbsolutePath("String_Node_Str");
        }
      }
 else {
        if (modelConfig.getBasic().getPostTrainOn()) {
        }
        normPigPath=pathFinder.getAbsolutePath("String_Node_Str");
      }
      paramsMap.put(Constants.IS_COMPRESS,"String_Node_Str");
      PigExecutor.getExecutor().submitJob(modelConfig,normPigPath,paramsMap,modelConfig.getDataSet().getSource(),super.pathFinder);
      if (StringUtils.isNotBlank(modelConfig.getValidationDataSetRawPath())) {
        paramsMap.put(Constants.IS_COMPRESS,"String_Node_Str");
        paramsMap.put(Constants.PATH_RAW_DATA,modelConfig.getValidationDataSetRawPath());
        paramsMap.put(Constants.PATH_NORMALIZED_DATA,pathFinder.getNormalizedValidationDataPath());
        PigExecutor.getExecutor().submitJob(modelConfig,normPigPath,paramsMap,modelConfig.getDataSet().getSource(),super.pathFinder);
      }
    }
 catch (    IOException e) {
      throw new ShifuException(ShifuErrorCode.ERROR_RUNNING_PIG_JOB,e);
    }
catch (    Throwable e) {
      throw new RuntimeException(e);
    }
  }
 catch (  Exception e) {
    LOG.error("String_Node_Str",e);
  }
  LOG.info("String_Node_Str",(System.currentTimeMillis() - start));
  return columnConfigList;
}

Fixed version (ground truth):
@Override public List<ColumnConfig> process() throws IOException {
  LOG.info("String_Node_Str");
  long start=System.currentTimeMillis();
  try {
    LOG.info("String_Node_Str");
    JSONUtils.writeValue(new File(pathFinder.getModelConfigPath(SourceType.LOCAL)),modelConfig);
    JSONUtils.writeValue(new File(pathFinder.getColumnConfigPath(SourceType.LOCAL)),columnConfigList);
    if (SourceType.HDFS.equals(modelConfig.getDataSet().getSource())) {
      CommonUtils.copyConfFromLocalToHDFS(modelConfig);
    }
    SourceType sourceType=modelConfig.getDataSet().getSource();
    ShifuFileUtils.deleteFile(pathFinder.getNormalizedDataPath(),sourceType);
    ShifuFileUtils.deleteFile(pathFinder.getNormalizedValidationDataPath(),sourceType);
    ShifuFileUtils.deleteFile(pathFinder.getSelectedRawDataPath(),sourceType);
    Map<String,String> paramsMap=new HashMap<String,String>();
    paramsMap.put("String_Node_Str",modelConfig.getNormalizeSampleRate().toString());
    paramsMap.put("String_Node_Str",((Boolean)modelConfig.isNormalizeSampleNegOnly()).toString());
    paramsMap.put("String_Node_Str",CommonUtils.escapePigString(modelConfig.getDataSetDelimiter()));
    try {
      String normPigPath=null;
      if (modelConfig.getNormalize().getIsParquet()) {
        if (modelConfig.getBasic().getPostTrainOn()) {
          normPigPath=pathFinder.getAbsolutePath("String_Node_Str");
        }
 else {
          LOG.info("String_Node_Str");
          normPigPath=pathFinder.getAbsolutePath("String_Node_Str");
        }
      }
 else {
        if (modelConfig.getBasic().getPostTrainOn()) {
        }
        normPigPath=pathFinder.getAbsolutePath("String_Node_Str");
      }
      paramsMap.put(Constants.IS_COMPRESS,"String_Node_Str");
      paramsMap.put(Constants.IS_NORM_FOR_CLEAN,"String_Node_Str");
      PigExecutor.getExecutor().submitJob(modelConfig,normPigPath,paramsMap,modelConfig.getDataSet().getSource(),super.pathFinder);
      if (StringUtils.isNotBlank(modelConfig.getValidationDataSetRawPath())) {
        paramsMap.put(Constants.IS_COMPRESS,"String_Node_Str");
        paramsMap.put(Constants.PATH_RAW_DATA,modelConfig.getValidationDataSetRawPath());
        paramsMap.put(Constants.PATH_NORMALIZED_DATA,pathFinder.getNormalizedValidationDataPath());
        PigExecutor.getExecutor().submitJob(modelConfig,normPigPath,paramsMap,modelConfig.getDataSet().getSource(),super.pathFinder);
      }
    }
 catch (    IOException e) {
      throw new ShifuException(ShifuErrorCode.ERROR_RUNNING_PIG_JOB,e);
    }
catch (    Throwable e) {
      throw new RuntimeException(e);
    }
  }
 catch (  Exception e) {
    LOG.error("String_Node_Str",e);
  }
  LOG.info("String_Node_Str",(System.currentTimeMillis() - start));
  return columnConfigList;
}