eagerInitListener.setTaskTrackerManager(taskTrackerManager);
eagerInitListener.start();
taskTrackerManager.addJobInProgressListener(eagerInitListener);
frameworkScheduler = new FrameworkScheduler(this);
driver = new MesosSchedulerDriver(frameworkScheduler, master);
driver.start();
} catch (Exception e) {
// If the MesosScheduler can't be loaded, the JT won't be useful at all,
// so crash it now so that the user notices.