m_loaderClass = (Class<? extends BenchmarkComponent>)builderFields.get("m_loaderClass").get(null);
// if (m_config.localmode == false) {
// this.jarFileName = config.hosts[0] + "." + this.jarFileName;
// }
} catch (Exception e) {
LogKeys logkey = LogKeys.benchmark_BenchmarkController_ErrorDuringReflectionForClient;
LOG.l7dlog( Level.FATAL, logkey.name(),
new Object[] { m_config.projectBuilderClass }, e);
System.exit(-1);
}
m_pollCount = hstore_conf.client.duration / hstore_conf.client.interval;
resultsUploader = new ResultsUploader(m_config.projectBuilderClass, config);
AbstractProjectBuilder tempBuilder = null;
try {
tempBuilder = m_builderClass.newInstance();
} catch (Exception e) {
LogKeys logkey =
LogKeys.benchmark_BenchmarkController_UnableToInstantiateProjectBuilder;
LOG.l7dlog( Level.FATAL, logkey.name(),
new Object[] { m_builderClass.getSimpleName() }, e);
System.exit(-1);
}
assert(tempBuilder != null);
this.projectBuilder = tempBuilder;