public synchronized void addQueuedMapTask(int slaveID, MapTask task) {
		ArrayDeque<MapTask> taskList = slaveMapTaskList.get(slaveID);
		taskList.push(task);
		slaveMapTaskList.put(slaveID, taskList);
		int jobID = task.getJob().getId();
		HashSet<MapTask> tasks = jobMapTask.get(jobID);
		if (tasks == null) {
			tasks = new HashSet<MapTask>();
		}
		if (!tasks.contains(task)) {
			tasks.add(task);
			jobMapTask.put(jobID, tasks);
		}
	}