code: @Override
    void initializeJob(JobID jobid) {
      for(String localDir : this.mapredLocalDirs) {
        File jobDirectory = new File(localDir, 
            TaskTracker.getLocalJobDir(jobid.toString()));
        if(!jobDirectory.exists()) {
          if(!jobDirectory.mkdir()) {
            LOG.warn("Unable to create job cache directory : " 
                + jobDirectory.getPath());
            continue;
          }
        }
        //Should be recursive because the jar and work folders might be 
        //present under the job cache directory
        changeDirectoryPermissions(
            jobDirectory.getPath(), FILE_PERMISSIONS, true);
      }
    }
docs: /*
  Create Job directories across disks and set their permissions to 777
  This way when tasks are run we just need to setup permissions for
  task folder.