use of org.apache.reef.client.DriverLauncher in project mist by snuspl.
the class MistLauncher method runFromConf.
/**
* Run the Mist Driver for the given Configuration.
* @param driverConf The Configuration for the driver
* @return a status of the driver
* @throws InjectionException on configuration errors
*/
public LauncherStatus runFromConf(final Configuration driverConf) throws InjectionException {
final DriverLauncher launcher = DriverLauncher.getLauncher(mistRuntimeConf);
final Configuration mistDriverConf = getDriverConfiguration(driverConf);
final LauncherStatus status = timeOut == 0 ? launcher.run(mistDriverConf) : launcher.run(mistDriverConf, timeOut);
LOG.log(Level.INFO, "Mist completed: {0}", status);
return status;
}
Aggregations