Program: 54237
Project: 54237
Buggy source:
public static void main(String[] args){
  final JobClient jobClient=new RetryJobClient();
  jobClient.setNodeGroup("String_Node_Str");
  jobClient.setClusterName("String_Node_Str");
  jobClient.setZookeeperAddress("String_Node_Str");
  jobClient.setJobInfoSavePath(Constants.USER_HOME + "String_Node_Str");
  jobClient.setJobFinishedHandler(new JobFinishedHandler(){
    @Override public void handle(    List<JobResult> jobResults){
    }
  }
);
  jobClient.addMasterNodeChangeListener(new MasterListener());
  jobClient.start();
  Job job=new Job();
  job.setTaskId(UUID.randomUUID().toString());
  job.setParam("String_Node_Str",1111);
  job.setTaskTrackerNodeGroup("String_Node_Str");
  Response response=jobClient.submitJob(job);
  try {
    Thread.sleep(2000L);
  }
 catch (  InterruptedException e) {
    e.printStackTrace();
  }
  new Thread(new Runnable(){
    @Override public void run(){
      Integer i=0;
      while (true) {
        try {
          try {
            Thread.sleep(5000L);
          }
 catch (          InterruptedException e) {
            e.printStackTrace();
          }
          Job job=new Job();
          job.setTaskId((i++) + "String_Node_Str");
          Map<String,String> extParams=new HashMap<String,String>();
          extParams.put("String_Node_Str","String_Node_Str");
          job.setExtParams(extParams);
          job.setTaskTrackerNodeGroup("String_Node_Str");
          Response response=jobClient.submitJob(job);
          System.out.println(response);
          if (i > 1000000) {
            break;
          }
        }
 catch (        Exception t) {
          t.printStackTrace();
        }
      }
    }
  }
).start();
  Runtime.getRuntime().addShutdownHook(new Thread(new Runnable(){
    @Override public void run(){
      jobClient.stop();
    }
  }
));
  try {
    System.in.read();
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}

Fixed version (ground truth):
public static void main(String[] args){
  final JobClient jobClient=new RetryJobClient();
  jobClient.setNodeGroup("String_Node_Str");
  jobClient.setClusterName("String_Node_Str");
  jobClient.setZookeeperAddress("String_Node_Str");
  jobClient.setJobInfoSavePath(Constants.USER_HOME + "String_Node_Str");
  jobClient.setJobFinishedHandler(new JobFinishedHandler(){
    @Override public void handle(    List<JobResult> jobResults){
    }
  }
);
  jobClient.addMasterNodeChangeListener(new MasterListener());
  jobClient.start();
  Job job=new Job();
  job.setTaskId(UUID.randomUUID().toString());
  job.setParam("String_Node_Str","String_Node_Str");
  job.setTaskTrackerNodeGroup("String_Node_Str");
  Response response=jobClient.submitJob(job);
  try {
    Thread.sleep(2000L);
  }
 catch (  InterruptedException e) {
    e.printStackTrace();
  }
  new Thread(new Runnable(){
    @Override public void run(){
      Integer i=0;
      while (true) {
        try {
          try {
            Thread.sleep(5000L);
          }
 catch (          InterruptedException e) {
            e.printStackTrace();
          }
          Job job=new Job();
          job.setTaskId((i++) + "String_Node_Str");
          Map<String,String> extParams=new HashMap<String,String>();
          extParams.put("String_Node_Str","String_Node_Str");
          job.setExtParams(extParams);
          job.setTaskTrackerNodeGroup("String_Node_Str");
          Response response=jobClient.submitJob(job);
          System.out.println(response);
          if (i > 1000000) {
            break;
          }
        }
 catch (        Exception t) {
          t.printStackTrace();
        }
      }
    }
  }
).start();
  Runtime.getRuntime().addShutdownHook(new Thread(new Runnable(){
    @Override public void run(){
      jobClient.stop();
    }
  }
));
  try {
    System.in.read();
  }
 catch (  IOException e) {
    e.printStackTrace();
  }
}