MAPREDUCE-2804. Fixed a race condition in setting up the log directories for tasks that are starting at the same time. (omalley)