Task task = new MapTask(null, attemptID, 0, null, MAP_SLOTS);
task.setUser(user);
task.setConf(taskConf);
TaskInProgress tip = tt.new TaskInProgress(task, taskConf);
File pidFile = new File(TEST_DIR, "pid");
RunningJob rjob = new RunningJob(attemptID.getJobID());
TaskController taskController = new DefaultTaskController();
taskController.setConf(ttConf);
rjob.distCacheMgr =
new TrackerDistributedCacheManager(ttConf, taskController).
newTaskDistributedCacheManager(attemptID.getJobID(), taskConf);