Program: 7888
Project: 7888
Buggy source:
private void init(CConfiguration configuration){
  LOG.debug("String_Node_Str");
  File testAppDir=Files.createTempDir();
  File outputDir=new File(testAppDir,"String_Node_Str");
  tmpDir=new File(testAppDir,"String_Node_Str");
  outputDir.mkdirs();
  tmpDir.mkdirs();
  configuration.set("String_Node_Str",outputDir.getAbsolutePath());
  configuration.set("String_Node_Str",tmpDir.getAbsolutePath());
  try {
    LOG.debug("String_Node_Str");
    appFabricServer=getAppFabricClient();
  }
 catch (  TTransportException e) {
    LOG.error("String_Node_Str");
    Throwables.propagate(e);
  }
  Module dataFabricModule;
  if (configuration.get("String_Node_Str") != null && configuration.get("String_Node_Str").equals("String_Node_Str")) {
    dataFabricModule=new DataFabricModules().getDistributedModules();
  }
 else {
    dataFabricModule=new DataFabricModules().getSingleNodeModules();
  }
}

Fixed version (ground truth):
private void init(CConfiguration configuration){
  LOG.debug("String_Node_Str");
  File testAppDir=Files.createTempDir();
  File outputDir=new File(testAppDir,"String_Node_Str");
  tmpDir=new File(testAppDir,"String_Node_Str");
  outputDir.mkdirs();
  tmpDir.mkdirs();
  configuration.set("String_Node_Str",outputDir.getAbsolutePath());
  configuration.set("String_Node_Str",tmpDir.getAbsolutePath());
  try {
    LOG.debug("String_Node_Str");
    appFabricServer=getAppFabricClient();
  }
 catch (  TTransportException e) {
    LOG.error("String_Node_Str");
    Throwables.propagate(e);
  }
  Module dataFabricModule;
  if (configuration.get("String_Node_Str") != null && configuration.get("String_Node_Str").equals("String_Node_Str")) {
    dataFabricModule=new DataFabricModules().getDistributedModules();
  }
 else {
    dataFabricModule=new DataFabricModules().getSingleNodeModules();
  }
  injector=Guice.createInjector(dataFabricModule,new ConfigModule(configuration),new IOModule(),new LocationRuntimeModule().getInMemoryModules(),new DiscoveryRuntimeModule().getInMemoryModules(),new ProgramRunnerRuntimeModule().getInMemoryModules(),new AbstractModule(){
    @Override protected void configure(){
      install(new FactoryModuleBuilder().implement(ApplicationManager.class,DefaultBenchmarkManager.class).build(BenchmarkManagerFactory.class));
      install(new FactoryModuleBuilder().implement(StreamWriter.class,MultiThreadedStreamWriter.class).build(BenchmarkStreamWriterFactory.class));
      install(new FactoryModuleBuilder().implement(ProcedureClient.class,DefaultProcedureClient.class).build(ProcedureClientFactory.class));
    }
  }
,new Module(){
    @Override public void configure(    Binder binder){
      binder.bind(new TypeLiteral<PipelineFactory<?>>(){
      }
).to(new TypeLiteral<SynchronousPipelineFactory<?>>(){
      }
);
      binder.bind(ManagerFactory.class).to(SyncManagerFactory.class);
      binder.bind(AuthorizationFactory.class).to(PassportAuthorizationFactory.class);
      binder.bind(MetadataService.Iface.class).to(com.continuuity.metadata.MetadataService.class);
      binder.bind(AppFabricService.Iface.class).toInstance(appFabricServer);
      binder.bind(MetaDataStore.class).to(SerializingMetaDataStore.class);
      binder.bind(StoreFactory.class).to(MDSStoreFactory.class);
    }
  }
);
  locationFactory=injector.getInstance(LocationFactory.class);
}