splitted configureNumTasks to configureNumMapTasks and configureNumReduceTasks.