private void setupAndStartSchedulerFramework(int numTTs, int numMapsPerTT,
int numReducesPerTT)
throws IOException {
scheduler = new CapacityTaskScheduler();
taskTrackerManager =
new FakeTaskTrackerManager(numTTs, numMapsPerTT, numReducesPerTT);
taskTrackerManager.setQueueManager(new QueueManager());
scheduler.setTaskTrackerManager(taskTrackerManager);
scheduler.setConf(new Configuration());
ControlledInitializationPoller controlledInitializationPoller =
new ControlledInitializationPoller(scheduler.jobQueuesManager,