Program: 32201
Project: 32201
Buggy source:
private void prepareVarSelParams(final List<String> args,final SourceType sourceType){
  args.add("String_Node_Str");
  addRuntimeJars(args);
  args.add("String_Node_Str");
  args.add(ShifuFileUtils.getFileSystemBySourceType(sourceType).makeQualified(new Path(modelConfig.getDataSetRawPath())).toString());
  String zkServers=Environment.getProperty(Environment.ZOO_KEEPER_SERVERS);
  if (StringUtils.isEmpty(zkServers)) {
    log.warn("String_Node_Str");
  }
 else {
    args.add("String_Node_Str");
    args.add(zkServers);
  }
  args.add("String_Node_Str");
  args.add(VarSelWorker.class.getName());
  args.add("String_Node_Str");
  args.add(VarSelMaster.class.getName());
  args.add("String_Node_Str");
  int expectVarCount=this.modelConfig.getVarSelectFilterNum();
  int forceSelectCount=0;
  int candidateCount=0;
  for (  ColumnConfig columnConfig : columnConfigList) {
    if (columnConfig.isForceSelect()) {
      forceSelectCount++;
    }
    if (CommonUtils.isGoodCandidate(columnConfig)) {
      candidateCount++;
    }
  }
  args.add(String.valueOf(Math.min(expectVarCount,candidateCount) - forceSelectCount + 1));
  args.add("String_Node_Str");
  args.add(VarSelMasterResult.class.getName());
  args.add("String_Node_Str");
  args.add(VarSelWorkerResult.class.getName());
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,Constants.VAR_SEL_MASTER_CONDUCTOR,Environment.getProperty(Environment.VAR_SEL_MASTER_CONDUCTOR,WrapperMasterConductor.class.getName())));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,Constants.VAR_SEL_WORKER_CONDUCTOR,Environment.getProperty(Environment.VAR_SEL_MASTER_CONDUCTOR,WrapperWorkerConductor.class.getName())));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,NNConstants.MAPRED_JOB_QUEUE_NAME,Environment.getProperty(Environment.HADOOP_JOB_QUEUE,Constants.DEFAULT_JOB_QUEUE)));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,GuaguaConstants.GUAGUA_MASTER_INTERCEPTERS,VarSelOutput.class.getName()));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,NNConstants.SHIFU_NN_MODEL_CONFIG,ShifuFileUtils.getFileSystemBySourceType(sourceType).makeQualified(new Path(super.getPathFinder().getModelConfigPath(sourceType)))));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,NNConstants.SHIFU_NN_COLUMN_CONFIG,ShifuFileUtils.getFileSystemBySourceType(sourceType).makeQualified(new Path(super.getPathFinder().getColumnConfigPath(sourceType)))));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,NNConstants.NN_MODELSET_SOURCE_TYPE,sourceType));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,GuaguaConstants.GUAGUA_COMPUTATION_TIME_THRESHOLD,60 * 1000l));
  setHeapSizeAndSplitSize(args);
  for (  Map.Entry<Object,Object> entry : Environment.getProperties().entrySet()) {
    if (entry.getKey().toString().startsWith("String_Node_Str") || entry.getKey().toString().startsWith("String_Node_Str") || entry.getKey().toString().startsWith("String_Node_Str")) {
      args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,entry.getKey().toString(),entry.getValue().toString()));
    }
  }
}

Fixed version (ground truth):
private void prepareVarSelParams(final List<String> args,final SourceType sourceType){
  args.add("String_Node_Str");
  addRuntimeJars(args);
  args.add("String_Node_Str");
  args.add(ShifuFileUtils.getFileSystemBySourceType(sourceType).makeQualified(new Path(modelConfig.getDataSetRawPath())).toString());
  String zkServers=Environment.getProperty(Environment.ZOO_KEEPER_SERVERS);
  if (StringUtils.isEmpty(zkServers)) {
    log.warn("String_Node_Str");
  }
 else {
    args.add("String_Node_Str");
    args.add(zkServers);
  }
  args.add("String_Node_Str");
  args.add(VarSelWorker.class.getName());
  args.add("String_Node_Str");
  args.add(VarSelMaster.class.getName());
  args.add("String_Node_Str");
  int expectVarCount=this.modelConfig.getVarSelectFilterNum();
  int forceSelectCount=0;
  int candidateCount=0;
  for (  ColumnConfig columnConfig : columnConfigList) {
    if (columnConfig.isForceSelect()) {
      forceSelectCount++;
    }
    if (CommonUtils.isGoodCandidate(columnConfig)) {
      candidateCount++;
    }
  }
  args.add(String.valueOf(Math.min(expectVarCount,candidateCount) - forceSelectCount + 1));
  args.add("String_Node_Str");
  args.add(VarSelMasterResult.class.getName());
  args.add("String_Node_Str");
  args.add(VarSelWorkerResult.class.getName());
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,Constants.VAR_SEL_MASTER_CONDUCTOR,Environment.getProperty(Environment.VAR_SEL_MASTER_CONDUCTOR,WrapperMasterConductor.class.getName())));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,Constants.VAR_SEL_WORKER_CONDUCTOR,Environment.getProperty(Environment.VAR_SEL_MASTER_CONDUCTOR,WrapperWorkerConductor.class.getName())));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,NNConstants.MAPRED_JOB_QUEUE_NAME,Environment.getProperty(Environment.HADOOP_JOB_QUEUE,Constants.DEFAULT_JOB_QUEUE)));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,GuaguaConstants.GUAGUA_MASTER_INTERCEPTERS,VarSelOutput.class.getName()));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,NNConstants.SHIFU_NN_MODEL_CONFIG,ShifuFileUtils.getFileSystemBySourceType(sourceType).makeQualified(new Path(super.getPathFinder().getModelConfigPath(sourceType)))));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,NNConstants.SHIFU_NN_COLUMN_CONFIG,ShifuFileUtils.getFileSystemBySourceType(sourceType).makeQualified(new Path(super.getPathFinder().getColumnConfigPath(sourceType)))));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,NNConstants.NN_MODELSET_SOURCE_TYPE,sourceType));
  args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,GuaguaConstants.GUAGUA_COMPUTATION_TIME_THRESHOLD,60 * 60 * 1000l));
  setHeapSizeAndSplitSize(args);
  for (  Map.Entry<Object,Object> entry : Environment.getProperties().entrySet()) {
    if (entry.getKey().toString().startsWith("String_Node_Str") || entry.getKey().toString().startsWith("String_Node_Str") || entry.getKey().toString().startsWith("String_Node_Str")) {
      args.add(String.format(NNConstants.MAPREDUCE_PARAM_FORMAT,entry.getKey().toString(),entry.getValue().toString()));
    }
  }
}