Add mapping of the tasks and nodes in the JobManager