bind(Log.class).toInstance(log);
bind(ExecutorConfig.class).toInstance(new ExecutorConfig("/executor/thermos"));
install(new BackupModule(backupDir, SnapshotStoreImpl.class));
}
};
ClientConfig zkClientConfig = ClientConfig
.create(ImmutableList.of(InetSocketAddress.createUnresolved("localhost", getPort())))
.withCredentials(ZooKeeperClient.digestCredentials("mesos", "mesos"));
final SchedulerMain main = SchedulerMain.class.newInstance();
injector = Guice.createInjector(
ImmutableList.<Module>builder()