Program: 82579
Project: 82579
Buggy source:
@Override public Void call(Client client) throws Exception {
  System.out.println("String_Node_Str");
  List<String> tables=client.tableList();
  ObjectMapper mapper=new ObjectMapper();
  jdbc.update("String_Node_Str" + StringUtils.join(tables,"String_Node_Str") + "String_Node_Str");
  for (  String table : tables) {
    List<Map<String,Object>> existingTable=jdbc.queryForList("String_Node_Str",table);
    TableDescriptor descriptor=client.describe(table);
    Schema schema=client.schema(table);
    String schemaString=mapper.writeValueAsString(schema);
    Map<String,String> shardServerLayout=client.shardServerLayout(table);
    Map<String,ArrayList<String>> formattedShard=new HashMap<String,ArrayList<String>>();
    for (    String shard : shardServerLayout.keySet()) {
      String host=shardServerLayout.get(shard);
      if (formattedShard.get(host) != null) {
        formattedShard.get(host).add(shard);
      }
 else {
        formattedShard.put(host,new ArrayList<String>(Arrays.asList(shard)));
      }
    }
    String shardServerString=mapper.writeValueAsString(formattedShard);
    String tableUri=descriptor.tableUri;
    String tableAnalyzer=descriptor.analyzerDefinition.fullTextAnalyzerClassName;
    if (existingTable.isEmpty()) {
      jdbc.update("String_Node_Str",new Object[]{table,descriptor.isIsEnabled() ? 2 : 1,tableUri,tableAnalyzer,shardServerString,schemaString});
    }
 else {
      jdbc.update("String_Node_Str",new Object[]{table,descriptor.isIsEnabled() ? 2 : 1,tableUri,tableAnalyzer,shardServerString,schemaString});
    }
  }
  return null;
}

Fixed version (ground truth):
@Override public Void call(Client client) throws Exception {
  System.out.println("String_Node_Str");
  List<String> tables=client.tableList();
  ObjectMapper mapper=new ObjectMapper();
  jdbc.update("String_Node_Str" + StringUtils.join(tables,"String_Node_Str") + "String_Node_Str");
  for (  String table : tables) {
    List<Map<String,Object>> existingTable=jdbc.queryForList("String_Node_Str",table);
    TableDescriptor descriptor=client.describe(table);
    Schema schema=client.schema(table);
    String schemaString=mapper.writeValueAsString(schema);
    Map<String,String> shardServerLayout=client.shardServerLayout(table);
    Map<String,ArrayList<String>> formattedShard=new HashMap<String,ArrayList<String>>();
    for (    String shard : shardServerLayout.keySet()) {
      String host=shardServerLayout.get(shard);
      if (formattedShard.get(host) != null) {
        formattedShard.get(host).add(shard);
      }
 else {
        formattedShard.put(host,new ArrayList<String>(Arrays.asList(shard)));
      }
    }
    String shardServerString=mapper.writeValueAsString(formattedShard);
    String tableUri=descriptor.tableUri;
    String tableAnalyzer=descriptor.analyzerDefinition.fullTextAnalyzerClassName;
    if (existingTable.isEmpty()) {
      jdbc.update("String_Node_Str",new Object[]{table,descriptor.isIsEnabled() ? 2 : 1,tableUri,tableAnalyzer,schemaString,shardServerString});
    }
 else {
      jdbc.update("String_Node_Str",new Object[]{table,descriptor.isIsEnabled() ? 2 : 1,tableUri,tableAnalyzer,schemaString,shardServerString});
    }
  }
  return null;
}