tt.setTaskTrackerInstrumentation(
TaskTracker.createInstrumentation(tt, tt.getJobConf()));
// start map-task launcher with four slots
TaskLauncher mapLauncher = tt.new TaskLauncher(TaskType.MAP, 4);
mapLauncher.start();
// launch a task which requires five slots
String jtId = "test";
TaskAttemptID attemptID = new TaskAttemptID(jtId, 1, TaskType.MAP, 0, 0);
Task task = new MapTask(null, attemptID, 0, null, 5);